Learn Terminal & Shell Commands: 57 Flashcards from ls to Pipes, sed and awk
Master 57 terminal and shell commands with flashcards: ls, grep, chmod, kill, pipes, redirects, sed and awk, plus which cards to fix and what to add.

Studying. But it's also a video game. 🎮
Flashcards, quizzes and games that make you actually remember.
Posted by
Related reading
Learn Git in German: 68 Flashcards on Befehle, Merges and the Object Store
Learn Git in German with 68 real flashcards: the key German terms (Arbeitsverzeichnis, Staging-Bereich), 3 cards to fix and a smart study order.
Learn Git in Spanish: 68 Flashcards on Commands, Merges and the Object Store
Spanish edition of the 68-card Git deck: commands, merge strategies and object store, with the three backs to correct before your first review.
Study Git in French: 68 Flashcards That Teach Commands and Vocabulary at Once
Revise Git with the French edition of deck RS2358: 68 cards on commands, objects and merge strategies, plus the French dev vocabulary that comes with them.
Most people learn the terminal backwards: they memorize thirty commands as isolated trivia, then freeze the first time they need to chain three of them. The Terminal & Shell Commands deck (code CM7557, 57 cards) contains everything you need to avoid that trap, as long as you study it in the right order.
Study this deck: Terminal & Shell Commands
1 / 10Shell
Tap the card for the answer · swipe right if you knew it, left if not
What the 57 cards cover
You'll drill: shell, Bash, Zsh, ls, cd, pwd, mkdir, rm, cp, mv, touch, cat, less, head, tail, grep, find, chmod, chown, ps, top, kill, sudo, man, echo, which, whereis, df, du, tar, gzip, unzip, wget, curl, ssh, scp, history, alias, export, env, the pipe |, redirects > >> <, background &, Ctrl+C / Ctrl+Z / Ctrl+D, clear, wc, sort, uniq, diff, sed, awk, $HOME and $PATH.
| Front | Back |
|---|---|
pwd | Prints the current working directory path |
touch | Creates an empty file or updates file timestamp |
tail | Displays the last lines of a file (default 10) |
chmod | Changes file permissions (read, write, execute) |
df | Displays disk space usage of file systems |
du | Displays disk usage of files and directories |
>> (append) | Redirects output to a file (appends) |
Ctrl+Z | Suspends the current process (can be resumed with fg) |
uniq | Filters out duplicate adjacent lines in a file |
$PATH | Environment variable listing directories where executables are searched |
Study the operators first, not last
The deck buries its most powerful cards at positions 41-45: |, >, >>, < and &. Move them to the front of your queue. Once you know the pipe, every later command becomes a building block instead of a fact, and you can write one practice line per card:
ps aux | grep python(cards 20 + 16 + 41)sort access.log | uniq | wc -l(cards 51 + 52 + 50)du -sh * | sort -h | tail -5(cards 29 + 51 + 15)
That middle example matters: the uniq card says adjacent duplicates, which is why it is almost always preceded by sort. Put that pairing in the hint field of card 52.
Sharpen five backs as you go
A few answers are true but too soft to survive real use. Edit them in your copy:
rmdeletes directories only with-r(andrmdirhandles empty ones). There is no trash can.killsends a signal to a PID, by default SIGTERM;kill -9is the forceful SIGKILL.catstands for concatenate:cat a.txt b.txt > both.txtis its real job.echonever writes to a file by itself; the shell's>does. That is whysudo echo x > /etc/filefails.- Zsh has been the default shell on macOS since Catalina (2019), so Mac users should not assume Bash.
Also pair the look-alikes into contrast cards: df vs du, which vs whereis, wget vs curl, ssh vs scp, Ctrl+C (stop) vs Ctrl+Z (pause).
Cards worth adding
The deck stops before error handling. Write four more: 2> (redirect stderr), && (run next only on success), $? (last exit code) and jobs/fg/bg. With those, the 57 cards turn into a working toolkit.
Keep going
Once the shell feels natural, version control is the next step: our Git commands and workflows guide picks up exactly where this deck ends, and the Linux command line study guide adds 80 more Unix commands.
Find CM7557 – Terminal & Shell Commands in the library at flip-it.app and start with cards 41-45.
Ready to learn faster? 🚀
Join FLIP IT for free and turn studying into a game.