After the 3rd time I had to peek at "learn" to understand what was even asked, I gave up. This is more annoying than fun.
Twelve Days of Shell
41–50 of 89 posts
Re: Twelve Days of Shell
#42Earlier quoted context omitted.
I tried again to see if they fixed it. No it still doesn't work. You'll get the output but look closer. Output does not match expected lines - try again So you can't move on to the next level.
they must have fixed it. Works for me, including new sessions on separate browser.
Output does not match expected lines - try again
Does it give you the clue for the next level? Can you or someone else share a screenshot or something so I can compare to find out what I'm missing?Re: Twelve Days of Shell
#43Earlier quoted context omitted.
they must have fixed it. Works for me, including new sessions on separate browser.
Still doesn't work for me in a new session separate browser. I get the output but I also get this message Output does not match expected lines - try again Does it give you the clue for the next level? Can you or someone else share a screenshot or something so I can compare to find out what I'm missing?
There is some mess if you already finished the thing, and then use url to particular level on a clean session. For me it looked like I am on level 2, but site expected answers to 1.
When I start from scratch with proper link (main page) simple:
grep laugh *
works
Re: Twelve Days of Shell
#44Re: Twelve Days of Shell
#45Re: Twelve Days of Shell
#46How 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)
I found a-Shell's documentation[1] quite interesting, it describes their use of web assembly and offers some practical tips for compiling stuff so it can work in a sandboxed environment.
[1]: https://bianshen00009.gitbook.io/a-guide-to-a-shell/lets-do-...
Re: Twelve Days of Shell
#47The good: Nice exercises for beginners. Tab-completion, accepts readline characters like ctrl-u. The bad: You don't see the (wrong) output if you don't get it right the first time, making it hard to work iteratively and having to guess what the question actually intended. E.g. 'Seven files that start with "Santa"' actually wants file names that start with Santa, after some questions that had you use "grep" to search…
Re: Twelve Days of Shell
#48Earlier quoted context omitted.
Still doesn't work for me in a new session separate browser. I get the output but I also get this message Output does not match expected lines - try again Does it give you the clue for the next level? Can you or someone else share a screenshot or something so I can compare to find out what I'm missing?
For clean session it goes to the next level. There is some mess if you already finished the thing, and then use url to particular level on a clean session. For me it looked like I am on level 2, but site expected answers to 1. When I start from scratch with proper link (main page) simple: grep laugh * works
Re: Twelve Days of Shell
#49Hey this doesn’t work : first solution “ls -al” which I use all the time to list directories was rejected in the second question I used awk and was rejected it expected grep I think a beginner could be doing it right but then be told they are wrong as you aren’t evaluating actual commands Best would be to like actually run it* and then check solutions out with awk that it pattern matches * aka give me a shell ok wort…
Re: Twelve Days of Shell
#50Meta: the first day of the Twelve Days of Christmas is Christmas Day (December 25) itself: * https://en.wikipedia.org/wiki/Twelve_Days_of_Christmas The days before the 25th are part of the season of Advent: * https://en.wikipedia.org/wiki/Advent
Too many people I know spend their boxing day packing up their tree. Christmas is over before it's barely begun! But that's kind of understandable when Christmas begins in September if you believe the retailers.
Ah, a fellow Commonwealther (I'm Canadian):