The Linux Command Line, Paperback Book

The Linux Command Line Paperback

4 out of 5 (2 ratings)


You've experienced the shiny, point-and-click surface of your Linux computer-now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell.

Along the way you'll learn the timeless skills handed down by generations of gray-bearded, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more. In addition to that practical knowledge, author William Shotts reveals the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from Unix supercomputers of yore. As you make your way through the book's short, easily-digestible chapters, you'll learn how to: * Create and delete files, directories, and symlinks * Administer your system, including networking, package installation, and process management * Use standard input and output, redirection, and pipelines * Edit files with Vi, the world's most popular text editor * Write shell scripts to automate common or boring tasks * Slice and dice text files with cut, paste, grep, patch, and sed Once you overcome your initial "shell shock," you'll find that the command line is a natural and expressive way to communicate with your computer.

Just don't be surprised if your mouse starts to gather dust.


  • Format: Paperback
  • Pages: 480 pages
  • Publisher: No Starch Press,US
  • Publication Date:
  • Category: Linux
  • ISBN: 9781593273897



Free Home Delivery

on all orders

Pick up orders

from local bookshops


Showing 1 - 2 of 2 reviews.

Review by

O’Reilly Publishing provided me access to an electronic copy of this book for review purposes.The command line can be one of the most intimidating aspects of learning Linux, I know it was for me. And while the command line gives you an awesome amount of power with using Linux, it also makes it entirely to easy to destroy and delete entire directories without trying. It’s like what Uncle Ben said in Spider Man “with great power comes great responsibility.” Learning the command line is one of those things that takes a good guide and clear instructions (and warnings on what not to do), and while I had friends who helped me walk through the process, it still seemed intimidating. And after reading this book, I wish I had it when I started out. William makes the command line less intimidating, provides clear instructions, and lets you know the pitfalls to watch out for.The book is broken down into four major sections:Learning the shellConfiguration and the environmentCommon tasks and essential toolsWriting Shell Scriptswith easy to navigate chapters. Some of the chapters include: file navigation, Vi and Vim, environment configuration, command chaining, pattern matching with regular expressions, and more.Where this book excels is that it is written with the novice in mind and presents the information clearly, with easy to read instructions, and plenty of examples so that you can see what its supposed to look like. The best part of the examples, William truly presents them as what the reader will see when they first start out vs. using his own personalized environment (which some instructors have a tendency of doing.) This means that the reader will instantly know where they are in the process. Even more importantly he tries to eschew the technical jargon that can overwhelm a novice. While at times he might go overboard with wordage in explaining things, it is still sure to help the novice answer many questions they might have while learning the command line. While the chapters may not cover a topic in depth, such as the one on Vi and Vim, they provide the reader with enough information to be comfortable with what they’re learning. The section that I found most helpful, was the last section dealing with writing shell scripts. William gives a solid foundation to learning this helpful tool, provides plenty of examples, and makes it seem easy to set up. Even better, he gives a brief lesson on Regular Expressions, which will help with writing the scripts.Even though this book is written for the novice user, I still found it a good refresher on what commands do what. I would highly recommend this book for users just starting out in Linux and for those that need a refresher on how to navigate the command line. I give the book 5 out of 5 stars.

Review by

Unorganized and displeasing to the eye but probably containing useful facts.