Long past the free-tier period on #aws but cmdchallenge still manages to stay well under the free tier limits
1
4
Here is a diagram for how this side-project fits together. read more at jarv.org/posts/does-serverle…
1
I think my own special hell would be a shell scripting environment where gnu versions of sed,grep,find,etc were replaced with bsd version randomly
1
2
You can now see stats on correct and incorrect answers thanks to #goatcounter cmdchallenge.goatcounter.com…
A special Christmas edition of cmdchallenge, "12 days of shell" 12days.cmdchallenge.com/ . How does it work as a gentle introduction to the command line?
1
2
1
Very nice site command-line.online for walking through the basics of command line usage, check it out!
4
echo $(<file) is fast, but probably a bit less familiar than just using cat jarv.org/posts/cat-without-c…
2
For the oops challenges oops.cmdchallenge.com, some helpful tips on using shell redirection jarv.org/posts/shell-redirec…
1
some new challenges today for those who are really feeling adventurous! oops.cmdchallenge.com/
1
3
Replying to @thecmdchallenge
@thecmdchallenge @holbertonschool "The perfect cube" 27 done.
1
1
Of course this is answered in the bash man page: "If no command name results, redirections are performed, but do not affect the current shell environment. A redirection error causes the command to exit with a non-zero status."
">foo" is an alternative to "touch foo" but it seems like magic when there is nothing on the left side 🤔
1
Pushed an update so that solutions can be viewed a bit nicer. cmdchallenge.com/#/last_line… TIL that you can invert `cut` with the --compliment option
TIL the option `-d` to grep for how to treat directories, if you like typing instead of `-r` you can use `-d recursive`
1
Shout-out to #OpenMoji for all the nice icons on the cmdchallenge.com re-design
2
This solution to deleting files cmdchallenge.com/#/s/delete_… : $ find . | while read i; do rm -rf $i; done
With so many entries using tail -f I decided to catch it early and give a helpful warning :)
The most common error on cmdchallenge is the muscle-memory of using tail -f
It surprising to see how many people pipe the output of ls for no reason $ ls | cat, then again I still catch myself doing $ cat ... | grep
1
TIL that pwd takes an argument -P for resolving all symlinks
2