Explore the command line: 10 levels of cd, ls, grep, pipes and xargs. The fastest Unix terminal game for getting fluent in the shell.
Welcome, Explorer. You'll explore a virtual filesystem using terminal commands. Each level is a mission: arrange the commands in the correct order to complete it.
mkdir creates a new directory. touch creates an empty file (or updates the timestamp if it exists). Both commands are basic to building a project structure.
grep (Global Regular Expression Print) searches for a text pattern inside files. The pattern can be written as a regex. grep -r "pattern" . = search recursively in all files.
A pipe (|) connects one command's output to the next command's input. This is the Unix philosophy: small programs that can be combined. cat file | grep pattern | sort | uniq = read → filter → sort → remove duplicates.
Frequently-used grep flags: -i (case-insensitive), -v (invert, lines that do NOT match), -r (recursive), -l (file names only), -n (line numbers), -c (count matches).
find searches for files by name/size/date. With -exec, you can run any command for each result. The placeholder {} is replaced with the file name, and \; marks the end of the command.
And more, 20 levels in all.