Live data from Hacker News

Twelve Days of Shell

12days.cmdchallenge.com

21–30 of 89 posts

Re: Twelve Days of Shell

#22
post #9

Viewing the page with Safari 26.1 the questions stopped showing up after the second challenge. I was left with only Learn and View Solutions, which was not very fun since both showed a form of the answer. TL;DR: The page stopped loading properly.

> Safari [..] The page stopped loading properly.

Who would've guessed...

Re: Twelve Days of Shell

#24
Looks nice but it's rejecting valid commands as incorrect. Like when it told me to search for "laugh" I ran

  grep laugh *
There's only one file in the directory. So that's a correct answer but the game wants me to run

  grep laugh night-before-christmas.txt 
It's like those weird interviewers who have a specific answer in mind and they'll accept nothing other than the answer they have in mind.

Re: Twelve Days of Shell

#25
The way that worked for me to properly learn shell is to do a non-shell project with it.

Like, do a complex background worker for a web server that listens to a socket, does complicated stuff, exports functions (if in Bash), etc.

You don't have to use it afterwards. The value is in the journey. It's fun :)

Re: Twelve Days of Shell

#26
How would one make a true shell in a website like this one? (As in, is there an open source library to host an interactive shell for educational purposes - eg codecademy)

Re: Twelve Days of Shell

#27

I've recently reached a point where I feel I've reached an upper limit with how much efficiency I can extract from my usual toolset/editors. So I've gone on a journey where I'm finally exploring tools that make living in the command line a productive and pleasant experience for me. I've long put off learning or even exploring tmux or learning more than a few handful of vim keybinds. So I started digging into configur…

Forget cheatsheets, tweets, videos, books, etc. Vim comes with a very well made built-in tutorial that will gently pull you toward maximum efficiency.

Re: Twelve Days of Shell

#29

Looks nice but it's rejecting valid commands as incorrect. Like when it told me to search for "laugh" I ran grep laugh * There's only one file in the directory. So that's a correct answer but the game wants me to run grep laugh night-before-christmas.txt It's like those weird interviewers who have a specific answer in mind and they'll accept nothing other than the answer they have in mind.

Or cat night-before-christmas.txt | grep laugh
Post reply on HN