Lurker News
TLDR: I wrote a handbook for the Linux command line. 120 pages in PDF. Updated for 2025. Pay what you want.

A few years back I wrote an ebook about the Linux command line. Instead of focusing on a specific shell, paraphrasing manual pages, or providing long repetitive explanations, the idea was to create a modern guide that would help readers to understand the command line in the practical sense, cover the most common things people use the command line for, and do so without wasting the readers' time.
The book contains material on terminals, shells (compatible with both Bash and Zsh), configuration, command line programs for typical use cases, shell scripting, and many tips and tricks to make working on the command line more convenient. I still consider it "an introduction" and it is not necessarily a book for the HN crowd that lives in the terminal, but I believe that the book will easily cover 80 % of the things most people want or need to do in the terminal.
I made a couple of updates to the book over the years and just finished a significant one for 2025. The book is not perfect. I still see a lot of room for improvement, but I think it is good enough and I truly want to share it with everyone. Hence, pay what you want.
EXAMPLE PAGES: https://drive.google.com/file/d/1PkUcLv83Ib6nKYF88n3OBqeeVff...
https://commandline.stribny.name/

Comments (109) 30 threads

Show all comments

Showing thread 17 of 30

tanchaowen841 reply#
cool! Even though it’s getting easier to use AI to generate commands these days—I often ask AI to help me write commands myself—I still think it’s important to understand and systematically learn the command line. I’ll definitely recommend this book to my friends. One suggestion: maybe you could include some practical examples from real work scenarios in the book to make it even more approachable and engaging.
petr25102018#
I don't want to just add to it because the entire idea is to have a short book, but I will be thinking about replacing/improving some sections. The examples already demonstrate the practical scenarios, but I think there could be a few sentences about how a particular concept can be used in real world scenario.

Thanks for sharing:)