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.
6 tracks · 180 topics · 18 from-scratch builds · a real Linux terminal in every lesson · Free & open source
| stage | command | reads | writes |
|---|---|---|---|
| 1 | awk '{print $1}' | access.log (52,310 lines) | one IP per line |
| 2 | sort | IPs in log order | IPs grouped together |
| 3 | uniq -c | grouped IPs | "count IP" per distinct IP |
| 4 | sort -rn | head -3 | counts | top three talkers |
Each stage reads the previous stage's stdout as its stdin; all four run at once
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.
System Deep-Dive: A Real Linux Kernel in Your Browser
Trace a command from keypress to kernel: terminals, ptys, the shell loop, builtins, man pages and system calls.
System Deep-Dive: How ls Reads a Directory
Move around the tree with confidence and see what a file really is: inodes, links, metadata and special files.
System Deep-Dive: How less Opens a Huge File Instantly
Read, page, count, compare and edit text, and recognise binary data and encodings when you meet them.
System Deep-Dive: Why mv Within a Filesystem Is Atomic
Create, copy, move and delete with care, match names with globs, and search whole trees with find and xargs.
System Deep-Dive: How the Kernel Checks Permissions
Users, groups and the permission bits, including the special ones, and how to use root without breaking things.
System Deep-Dive: Why GNU grep Is Fast
Regular expressions, searching, sorting, columns and stream editing, ending in awk reports over real logs.
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.