I had fun. These are a great, gentle intro to powerful tools.
One recommendation: Add a "What?" accordion entry that just states in plain speech what exactly you want done, without giving away the how. For a few of these I read the prompt and was like "uh..." then clicked learn and was like "oh all they want is find -type f".
Also, small nit, "find ./place-for-pipers -type f -name "piper" | xargs grep -i 'piping'" wasn't accepted due to the filenames being prefixed to the output. I feel like this is one of the benefits of piping it all through a single grep (grep, knowing the context of multiple input files, gives you useful output). Obviously you can massage both solutions to give the others' text output, but I just felt a little cheated that my response wasn't marked correct.
> One recommendation: Add a "What?" accordion entry that just states in plain speech what exactly you want done, without giving away the how. For a few of these I read the prompt and was like "uh..." then clicked learn and was like "oh all they want is find -type f".
Yeah this is a common complaint, because either the "learn" section gives away too much. I think I will just add more hints underneath the challenge like I did recently for #8 https://12days.testing.cmdchallenge.com/#/12days_8
> Also, small nit, "find ./place-for-pipers -type f -name "piper" | xargs grep -i 'piping'" wasn't accepted due to the filenames being prefixed to the output. I feel like this is one of the benefits of piping it all through a single grep (grep, knowing the context of multiple input files, gives you useful output). Obviously you can massage both solutions to give the others' text output, but I just felt a little cheated that my response wasn't marked correct.
Hm, yeah we can probably just search for the filenames and ignore everything else to make it a little more forgiving.
Love it. I do think that the "learn" section should always be open. For me (FF) after the first challenge it's closed by default which leaves just a command line and no clear direction.
Heh, I somehow crashed the server with `grep -ie '^the' night-....`, and the error message appeared to be cached, so I had to go with `grep -ei '^the.' night-...`. Then I tried a `ls /proc` and got a rate limiting error. I think I'm not in the target audience, but it's cute!
Very nice and very educational! I'm kind of ashamed to learn only now that I can move a file without having to explicitly specify the destination file name.
I had some downtime last weekend so thought I would create a Christmas edition of an old project https://cmdchallenge.com. It's a little bit more gentle of an introduction to shell than the main site.
Kind of fun, although to me there seems to be a bit too much guesswork as to what you're actually supposed to do. For example the puzzle for day 8 (and especially day 9) doesn't really tell me anything about what I'm actually supposed to achieve, and clicking "learn" to find it out actually gives the solution outright.
* https://en.wikipedia.org/wiki/Twelve_Days_of_Christmas
The time period before-hand is Advent (from the Latin to come):
* https://en.wikipedia.org/wiki/Advent