bashcrawl: learn Linux commands by playing a simple text adventure (gitlab.com)
from learnbyexample@programming.dev to linux@lemmy.ml on 25 Jun 13:07
https://programming.dev/post/32854379

#linux

threaded - newest

fratermus@lemmy.sdf.org on 25 Jun 15:14 next collapse

Neat concept. I got killed by the statue. :-/

iamdefinitelyoverthirteen@lemmy.world on 25 Jun 17:58 next collapse

I was just thinking about this on my way into work this morning, and how I need to get some of my junior techs to try this out.

ButteryMonkey@piefed.social on 25 Jun 18:30 next collapse

Awesome, I’m gunna try this for sure, because doing anything on my Linux machines is… a whole big thing.. Thanks for sharing this!

cosmicrookie@lemmy.world on 26 Jun 19:54 next collapse

Why can’t I figure this out! I can change directories as if they ere rooms, but the files don’t do anything. I get a warning that there is no such command

brax@sh.itjust.works on 26 Jun 22:04 collapse

I found I had to chmod u+x the binaries, but they worked fine. You need to make sure you call them as ./filename (assuming you are in the same directory as the file)

IE:

chmod u+x treasure

./treasure

cosmicrookie@lemmy.world on 26 Jun 23:14 collapse

For a complete rookie, that wanted to learn, this is quite counterintuitive. There are very very fine details on how to install it and get started, and then this is not even described.

brax@sh.itjust.works on 27 Jun 07:16 collapse

Yeah, I thought that was a bit weird, too. Going as basic as explaining how to use ls and cat and how to run an executable, but not mentioning how to make an executable actually be executable.

I thought maybe it was just something wacky with my Termux install that made me have to chmod it all.

I also found it weird how the game didn’t manage HP and inventory for you. There must have been better ways for it to show you how to use session variables…

Cyber@feddit.uk on 26 Jun 22:03 next collapse

This was great… great find and genius idea.

ar1@lemmy.sdf.org on 27 Jun 02:34 collapse

It’s indeed for Bash shell…