Foundations
How the shell, the filesystem, permissions and pipelines actually work: the mental models every command sits on.
4 chapters
PDF ebook, 269 pages, 2026 edition
Everything on shell.trainer: rewritten for reading, typeset as a real book and bookmarked chapter by chapter. For offline study, for the desk next to your keyboard, and for the day the server is down and Google isn't.
Send a blank email and you will hear from us once, on launch day. No newsletter, no list, no sharing your address.
How the shell, the filesystem, permissions and pipelines actually work: the mental models every command sits on.
4 chaptersOne chapter per command: plain-English analogy, internals, syntax, options table, worked examples, habits and FAQs.
52 chaptersOne chapter per error message, with the causes ranked by how often they are really the culprit, and the fix for each.
8 chaptersTask-shaped recipes that open with the answer and explain it afterwards: for the moment you need it working.
35 chaptersSide-by-side comparisons of the tools people confuse, each ending in a verdict instead of an "it depends".
6 chaptersReal pages from the book. The free sample has the front matter, all of Part I and a complete command chapter.
The site stays free, always. The book is for a different moment: offline, on paper, or when you want the whole reference in one searchable document with a real table of contents. And every copy sold funds new chapters on the site.
It is built from the same source, so it never falls out of date with the site, but organised as a book: five parts in learning order, with the foundations first and the reference, error fixes, recipes and comparisons after. What you lose is the interactive terminal; what you gain is focus.
A single DRM-free PDF, A4, with clickable chapter bookmarks. It reads well on a laptop or tablet and prints cleanly in black and white.
Yes. New chapters and corrections are added to the same file, and every buyer can download the latest version from the store at no cost.
ls · cd · pwd · mkdir · touch · rm · cp · mv · cat · grep · find · chmod · echo · head & tail · tar · ssh · curl · wget · ps · kill · df & du · ln · sed · awk · cut · xargs · chown · history · ping · ip · ss · dig · rsync · scp · top & htop · free · systemctl · journalctl · sudo & su · apt · crontab · tee · tr · uniq · diff · less · gzip & zip · env & export · alias · jobs, & and nohup · sha256sum & md5sum · which & type