$_ CLI In Depth
Learning progress 0%

The command line, from your first command to the kernel underneath.

A free, open-source course on bash, the GNU tools and Linux. Every lesson runs in a real Linux kernel inside your browser tab: no install, no account, no server.

Start learning →

6 tracks · 180 topics · 18 from-scratch builds · a real Linux terminal in every lesson · Free & open source

What the shell actually does
Step 4 of 4 · Verified
stagecommandreadswrites
1awk '{print $1}'access.log (52,310 lines)one IP per line
2sortIPs in log orderIPs grouped together
3uniq -cgrouped IPs"count IP" per distinct IP
4sort -rn | head -3countstop three talkers
INVARIANT Each stage reads the previous stage's stdout as its stdin; all four run at once
BOUNDS 4 processes, 3 pipesNo temp fileshead exit sends SIGPIPE upstream

How it works underneath

One case study per module: what the kernel, bash and the tools are really doing when you press Enter.

Six tracks, eighteen modules

From the terminal and the filesystem through text processing, processes, scripting, networking and containers.

Foundations: Terminal, Filesystem & Text

Files & Data

Shell Mechanics

Processes & System

Bash Scripting

Advanced & Internals

18 things you build yourself

A wc clone, a log analysis pipeline, a process supervisor, a safe deploy script and a container from bare namespaces.

Ready to open a terminal?

Start at Module 1.1. The Linux machine boots in your tab in a few seconds.