↑↓ move Enter open Esc close

Cover of The Linux Command Line Handbook

PDF ebook, 269 pages, 2026 edition

The Linux Command Line Handbook

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.

269pages
105chapters
52commands
43fixes & recipes

What's inside

Part I

Foundations

How the shell, the filesystem, permissions and pipelines actually work: the mental models every command sits on.

4 chapters
Part II

The Command Reference

One chapter per command: plain-English analogy, internals, syntax, options table, worked examples, habits and FAQs.

52 chapters
Part III

When Things Break

One chapter per error message, with the causes ranked by how often they are really the culprit, and the fix for each.

8 chapters
Part IV

Getting Things Done

Task-shaped recipes that open with the answer and explain it afterwards: for the moment you need it working.

35 chapters
Part V

Choosing Between Tools

Side-by-side comparisons of the tools people confuse, each ending in a verdict instead of an "it depends".

6 chapters

Look inside

Real pages from the book. The free sample has the front matter, all of Part I and a complete command chapter.

Sample page from Part IISample page from Part IIISample page from Part IV

Questions

Why pay when the site is free?

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.

Is it the same content as the website?

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.

What format is it?

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.

Do I get updates?

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.

Which chapters are in the command reference?

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