Cover of The Linux Command Line

The Linux Command Line

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.

Read more

The Linux Command Linetakes 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.

Audience
adult
Length
long · 480 pages

Click a tag to see books like this one that share it. Point at it (on a phone, tap it) for less of it instead.

Read it? Sign in to help tag it.

Liked The Linux Command Line? Here’s where I’d start.

These suit anyone who liked The Linux Command Line. Sign in and mark a few books for picks shaped around your own taste.

  1. How Linux Works: What Every Superuser Should Know Shares linux, programming, computer science
  2. The Linux Programming Interface: A Linux and UNIX System Programming Handbook Shares linux, programming, computer science
  3. Linux Pocket Guide Shares programming, linux, computer science
  4. Practical Guide to Linux (R) Commands, Editors, and Shell Programming Shares linux, computer science, programming

“People who read The Linux Command Line tend to reach for these next.”

  1. Automate the Boring Stuff with Python: Practical Programming for Total Beginners
  2. Bitcoin for the Befuddled
  3. UNIX and Linux System Administration Handbook
  4. Learning the vi and Vim Editors

“If you want more of the same (science about technology), start with these.”

  1. JavaScript and jQuery: Interactive Front-End Web Development
  2. Beginning Ruby: From Novice to Professional
  3. Dive Into Python 3
  4. jQuery: Novice to Ninja

“If it was the linux that hooked you, try one of these.”

  1. Beginning Linux Programming
  2. Linux Kernel Development
  3. Understanding the Linux Kernel
  4. Linux Device Drivers

“These start from a similar idea, even if they go somewhere else with it.”

  1. Classic Shell Scripting: Hidden Commands that Unlock the Power of Unix
  2. Learn Windows PowerShell 3 in a Month of Lunches
  3. Linux in a Nutshell
  4. Practical Vim: Edit Text at the Speed of Thought