
#393 Dare enter the Bash dungeon?
Python Bytes
Exploring the Bash Dungeon Project for Shell Learning
Learn how to utilize your shell through an interactive game project called bash dungeon, where users navigate directories, read parchments, and cast spells to explore different shell functionalities.
00:00
Transcript
Play full episode
Transcript
Episode notes
Speaker 2
Um, and good, good length. I mean, enough detail to really understand what's going on, but not so much that's overwhelming, you can really, uh, catch up really quickly on some of these topics. That's pretty cool. Yeah.
Speaker 1
indeed.
Speaker 2
Um, over to you. It's not like just getting into a dungeon, which would be bad. That would be that would be very bad. How would you get out of the dungeon? Yeah, well, you, you might want to check out bash dungeon if you wanted to get out of if it was like a Linux dungeon in Linux dungeon. Yeah. So, um, uh, I can't remember where I saw this, but, um, uh, came across a project called bash dungeon. Um, uh, it's on get hub. We got a link to it and the, apparently it's built off a couple other ones. There was a dungeons and directories and a bash crawl. Um, but I'm, uh, I'm looking at this. It's a work in progress. The idea is it's a game that's intended to teach new users how to use their shell in a fun and interactive way. And there's some various like how to play it. You can get there's a get pod account or docker. That's weird. The way I recommend is you can just clone the thing. So it has instructions on that too. clone
Speaker 1
and CD and you can play it as Docker.
Speaker 2
Are through Docker. Yeah, so. So I'm just going to cheat and look at the repo here. So you when you. So the instructions uh, CD into bash dungeon and then do an LS, then CD into enter, and then LS and then cat for parchment, uh, cat the parchment. So you're reading the parchment. So yeah, um, let's follow it a little bit. So I'm going to go in to go into enter and there's a parchment. And then when you do a cat, you is how to read a text file or just print the whole thing on your screen. So it has this little parchment with like, oh, here's what you should do. You could use LS and it recommends doing LS dash F to try to teach you about that. And then when you look around right away and the only thing you've got is a corridor. So if you see the into the corridor, then there's a couple more parchments that you can read. There's a spell you can cast that the spell is a spell. to be a script, it might be runnable. With a warning that in this repository you can trust it, but you should not just run random scripts that you find. Good warning. But then if you cast this, if there's a chest that has a cast, and then it always, it teaches a bunch of different things. One of the cool things I like is the file, file spell, which will tell you what kind of what type of file it is. Actually, I totally forgot about file. So that's why I think this is fun. It's if you've ever done dungeon crawler type games, this is kind of a neat way to brush up on your bash skills and or learn them in a new if you've if you're new to bash and It's kind of it's kind of a fun way to present this information. So it's
Speaker 1
actually super fun And since I've been doing a lot with Docker, I just literally a copy and paste and within about like 15 seconds of seeing it Could run a docker. I was already like
Speaker 2
corridor.
Topics covered in this episode:
- Marimo: “Future of Notebooks”
- pytest 8.3.0 & 8.3.1 are out
- Python Language Summit 2024
- bash-dungeon
- Extras
- Joke