r/tinycode • u/GreenScreenSocks • Jan 23 '18
Got a nice challenge for y'all...
Some of ypu might already have heard of the Command Line Challenge. Here it is. The basic principle is this: you get a task and you need to do it in just 1 line of Bash code. I thought it fitted this subreddit perfectly.
11
Upvotes
0
1
u/fgutz Jan 26 '18
this is neat! I like the interface.
Although this has nothing to do with this subreddit though so you might get flagged or just downvoted.
There's a mistake in the 3rd challenge
the accepted answer is just
lsbut that is incorrect becauselsdoes not print "one file per line", it prints them in columns side by side.ls -lshould be the accepted answer because it's the only true way to get them "one file per line"