How to learn › Coding & Tech
Coding & Tech

How to Learn the Linux Terminal Commands

The Linux terminal runs on short commands, and a couple of dozen cover almost everything — navigating folders, moving files, searching text. Learn these and the command line stops being scary. This deck teaches the everyday commands.

There are 14 cards in the deck below. You can read through them, practise them right here with the flip-card player, and then save the deck to study properly with spaced repetition — the method that makes them stick for months, not minutes.

QUESTION
Tap the card to reveal the answer

Why the essential Linux commands is hard to memorize (and the fix)

Beginners fear the terminal because a wrong command (especially "rm") can delete things with no undo. Learning what each does — and which are dangerous — builds real confidence.

The fix is active recall plus spaced repetition. Instead of re-reading the list (which feels productive but barely works), you test yourself — pull each answer out of memory — and you review each card on a schedule that stretches over time. Every time you successfully recall a fact, the memory gets stronger and the next review is pushed further out. That's how you go from "I saw it once" to "I just know it."

The fastest way to learn the essential Linux commands

  1. Break it into small batches. Learn the navigation commands first (ls, cd, pwd), then file operations (cp, mv, rm, mkdir), then the power tools (grep, find, chmod).
  2. Test, don't re-read. Look at the question, say the answer out loud before flipping the card. The little struggle to recall is what builds the memory — a smooth re-read does almost nothing.
  3. Review on a schedule. Spaced repetition shows you each card right before you'd forget it. Get one right and it comes back in a few days, then a week, then a month. Miss one and it comes back sooner.
  4. Keep sessions short and daily. Five to ten minutes a day beats a two-hour cram every time. Consistency is the whole game.
Memory trick: Navigation trio: pwd (where am I?), ls (what's here?), cd (go there). File trio: cp (copy), mv (move/rename), rm (remove).

One fact per card. "rm -rf" deletes recursively with no confirmation and no recycle bin — the most dangerous command to learn carefully.

The full deck: the Linux Terminal Commands

Here's every card in the set. Practise them above, or save the deck and let spaced repetition schedule your reviews automatically.

CommandWhat it does
What does "ls" do?Lists files and folders in the current directory
What does "cd" do?Changes to a different directory
What does "pwd" do?Prints the current directory path
What does "mkdir" do?Makes a new directory (folder)
What does "rm" do?Removes (deletes) files
What does "cp" do?Copies files
What does "mv" do?Moves or renames files
What does "cat" do?Displays the contents of a file
What does "grep" do?Searches text for a pattern
What does "chmod" do?Changes file permissions
What does "sudo" do?Runs a command with administrator (root) privileges
What does "touch" do?Creates an empty file (or updates its timestamp)
What does "man" do?Shows the manual (help) for a command
What does "cd .." do?Moves up one directory (to the parent)

Save this deck and actually remember it

Create a free account, keep this 14-card deck, and we'll schedule every review at the perfect moment. First deck free forever — no credit card.

Study this deck free →

FAQ: learning the essential Linux commands

How long does it take to learn the essential Linux commands?

Most people can lock in the essential Linux commands within one to three weeks of short daily sessions. With spaced repetition doing 10–14 cards a day, you'll recognise them within days and recall them reliably within a couple of weeks.

What's the best way to memorize the essential Linux commands?

Active recall plus spaced repetition. Test yourself instead of re-reading, and review on a schedule that spaces the cards out over time. Flashcards are built for exactly this — which is why the deck above is the fastest path.

Is this deck free?

Yes. You can practise all 14 cards on this page for free with no account. Sign up (also free) to save the deck and let spaced repetition schedule your reviews so it sticks long-term.

More coding & tech guides

Learn the Python BasicsLearn the JavaScript Array MethodsLearn the CSS PropertiesLearn the Data StructuresLearn Binary and HexadecimalLearn the Logic Gates

← All “how to learn” guides