TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bashcrawl: Learn Linux commands by playing a simple text adventure

344 pointsby free-mallocover 3 years ago

13 comments

bitwizeover 3 years ago
This looks neat. Once upon a time -- back in the 80s -- there was a utility called 'learn' that was a Unix command line tutorial. After each lesson, you could do these exercises where you were dropped into a fake shell, replete with fake directories and that, and had to get things into a certain expected state. They were typical business-related tasks, nothing cool and dungeon-y, but I learned my basic Unix commands that way. It's good to see learning tools like this re-emerge.
评论 #28823598 未加载
评论 #28823090 未加载
johnchristopherover 3 years ago
Oh come on, first room and I already learn something new despite using linux for years :D<p><pre><code> alias ls=&#x27;ls -F&#x27; </code></pre> I am going to spend some time with it, I hope the awk rituals are explained later on :).<p>edit: Maybe the author should provide a list of commands that will be taught ?
BiteCode_devover 3 years ago
It&#x27;s pretty well done, I almost forgot I was in my shell, and when the games gets to &quot;tree to map the dungeon&quot;, I was almost surprised I didn&#x27;t think about it before: I felt like playing a game, not coding in bash :)
tyingqover 3 years ago
<i>&quot;Then drag and drop the entrance directory from this folder into your terminal&quot;</i><p>Kind of a funny way to start out a &quot;text&quot; adventure :)
评论 #28820439 未加载
sodality2over 3 years ago
I learned with Kano OS (kid&#x27;s computer kit) running on a Raspberry Pi at age 12. A similar console-type game that taught me all the common commands still sticks with me to this day. This will be a good refresher, years later. :)<p><a href="https:&#x2F;&#x2F;allthingsd.com&#x2F;20131203&#x2F;the-99-kids-computer-kit-kano-is-about-to-hit-1m-on-kickstarter&#x2F;" rel="nofollow">https:&#x2F;&#x2F;allthingsd.com&#x2F;20131203&#x2F;the-99-kids-computer-kit-kan...</a>
评论 #28822637 未加载
评论 #28821763 未加载
评论 #28825418 未加载
nanomonkeyover 3 years ago
Anyone know the depth of information presented? Is there a list of commands that are covered?<p>Is this fun?
评论 #28820486 未加载
praveen9920over 3 years ago
This is the future of learning anything. I would rather play an engaging game than read 300 pages of text book and still has to Google for doing anything meaningful.
评论 #28821954 未加载
fantalameraover 3 years ago
Shameless self promotion: if you don&#x27;t want to learn bash you can instead use this tool to get the bash commands directly from natural language, right in the terminal: <a href="https:&#x2F;&#x2F;github.com&#x2F;davidfant&#x2F;terminal-x" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;davidfant&#x2F;terminal-x</a>
评论 #28885794 未加载
评论 #28826122 未加载
mdp2021over 3 years ago
It is genius. But also since the &quot;action on objects&quot; is based on executing files, should not be the first command a `<i>chroot</i>` - just to put the learner in the right mindset?
SamPattover 3 years ago
How do you kill the robot? I keep getting electrocuted.
qoolowlover 3 years ago
how do i get the treasure... it only teaches me ls and cd?? im at the end of the hall
评论 #28825148 未加载
1vuio0pswjnm7over 3 years ago
Also requires Perl.
johnklosover 3 years ago
It&#x27;s one thing that so many people who really should know better call anything Unix-y Linux.<p>Now we&#x27;re completely going the whole way and calling macOS Linux, too?<p>It&#x27;s pedantic, I know, but when I see this, I can&#x27;t help but imagine the person who chose to use the phrase &quot;Linux commands&quot; doesn&#x27;t really know what they&#x27;re doing.
评论 #28820704 未加载
评论 #28822336 未加载
评论 #28820744 未加载
评论 #28820659 未加载