Live data from Hacker News

GameShell: A game to learn or teach the Unix shell

github.com

51–60 of 69 posts

Re: GameShell: A game to learn or teach the Unix shell

#51
post #16

Earlier quoted context omitted.

You are not supposed to "identify" anything on UNIX-like operating systems; that is what the file(1) command is for, specifically, especially so since the entire concept of UNIX is that everything is a stream of bytes . Attempting to manually manage files in this way defeats the purpose of the OS abstracting it away for the user; and the users of your executable should not have to care what your executable is written…

As someone who did grow up on Windows and still uses it regularly alongside Linux, I want to respond to this comment just to play the Devil's advocate (i.e. infuriate you). > especially so since the entire concept of UNIX is that everything is a stream of bytes. I consider this an archaic, anachronistic, ancient, outdated, primitive (they all mean the same thing; I just used a thesaurus to really drive home my point)…

No post body was provided.

Re: GameShell: A game to learn or teach the Unix shell

#52
post #37

Earlier quoted context omitted.

^ bot? Doesn't make any sense to me, OP link is not an article.

Their first line is a quote from the README.

Ah, ok. In any case I was TA with Pierre teaching that class at Chambéry this semester, to run the gamesaves from the student without being too worried about my files i just ran the thing inside a bubblewrap bash session:

bwrap --dev /dev --ro-bind /usr/bin /usr/bin --ro-bind /usr/lib /usr/lib --symlink usr/bin /bin --symlink usr/lib /lib64 --unshare-user --uid 256 --gid 512 --bind TP2 /TP2 /usr/bin/bash

Re: GameShell: A game to learn or teach the Unix shell

#56

Earlier quoted context omitted.

Google is your friend https://www.unix.com/man-page/bsd/1/LEARN/

Sure. I just couldn't think of a way to convince google to find the right answer. Anything like "on unix learn tool" or "unix learn command" wouldn't bring me it. What search did you use to find it on google?

I think the key would be knowing what flavor of Unix they were on. `bsd man learn` gets me to that page.

Re: GameShell: A game to learn or teach the Unix shell

#59

Looks like fun! Reminds me Terminal Quest: https://github.com/KanoComputing/terminal-quest

I was hoping this would be a quick and easy way to help other people (students) get started.

I got as far as:

"Terminal Quest [...] linux-story is installed by default on Kano OS, and is provided as a debian package in our repositories. As it has a lot of dependencies from other packages in Kano OS, it is recommended you run it on Kano OS."

I guess the use-case here is that an experienced person installs it for a newbie?

I think I'm disappointed because I was hoping for something in a web page. Oh well :)

Re: GameShell: A game to learn or teach the Unix shell

#60

Looks like fun! Reminds me Terminal Quest: https://github.com/KanoComputing/terminal-quest

I was hoping this would be a quick and easy way to help other people (students) get started. I got as far as: "Terminal Quest [...] linux-story is installed by default on Kano OS, and is provided as a debian package in our repositories. As it has a lot of dependencies from other packages in Kano OS, it is recommended you run it on Kano OS." I guess the use-case here is that an experienced person installs it for a new…

It works great on Kano which runs on Raspberry Pi.

I have not tried installing it on Debian so I don't know how well it works in non-Kano environments.

Post reply on HN