Skip to content
Free55m · 9 lessons

Command Line Confidence

The terminal is a small language with an unfriendly manual. This short course teaches the twenty commands worth memorising, how to compose them with pipes, and how to write the little scripts that remove your most boring chore.

The route

  1. Moving and looking

    cd, ls and find, and a mental model of a path that survives a strange machine.

    You board here
    15 min
  2. Pipes, and doing one thing well

    grep, sort, uniq, wc and cut, composed into actual answers.

    15 min
  3. Editing streams without fear

    sed and awk, at the level you will genuinely use them.

    15 min
  4. Turning a chore into a script

    Shebangs, arguments, exit codes, and getting it onto your PATH.

    10 min

A look at the teaching

Stop 2 · Pipes, and doing one thing wellSample excerpt

Which files are the biggest, and who keeps adding to them?

# Ten largest files under src, biggest last.
find src -type f -printf '%s\t%p\n' | sort -n | tail -10 | cut -f2

# Which files change most often? Same shape of question,
# so very nearly the same pipeline.
git log --name-only --pretty=format: -- src \
  | grep -v '^$' | sort | uniq -c | sort -rn | head

Every command here does one thing and hands text to the next. The skill is not memorising flags — it is noticing that “biggest files” and “most-changed files” are the same question twice.

Who is driving

DM
Dávid Marton
Platform engineer, ex-fintech

Dávid teaches the way a good colleague explains things at a whiteboard — no jargon for its own sake, and nothing hidden behind “as you can see”.

Placeholder profile