The UNIX Pipe Card Game ↦
An actual card game to teach actual kids how to actually combine unix commands with pipes.
task: print the most common line from a file, we need to first cat the file (in our case the file is card 03.txt), then sort it, uniq count it, then do numeric sort, then tail -1:
cat 03.txt | sort | uniq -c | sort -n | tail -1
Print it yourself or… actually it’s sold out for now so you’ll have to print it yourself.
Sign in or Join to comment or subscribe