The Linux Command Line: A Complete Introduction, 2nd Edition

  • 7h 11m
  • William Shotts
  • No Starch Press
  • 2019

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 (or command line). Along the way you'll learn the timeless skills handed down by generations of experienced, 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.

About the Author

William Shotts has been a software professional for more than 30 years and an avid Linux user for more than 20 years. He has an extensive background in software development, including technical support, quality assurance, and documentation. He is also the creator of LinuxCommand.org, a Linux education and advocacy site featuring news, reviews, and extensive support for using the Linux command line.

In this Book

  • Introduction
  • What is the Shell?
  • Navigation
  • Exploring the System
  • Manipulating Files and Directories
  • Working with Commands
  • Redirection
  • Seeing the World as the Shell Sees it
  • Advanced Keyboard Tricks
  • Permissions
  • Processes
  • The Environment
  • A Gentle Introduction to Vi
  • Customizing the Prompt
  • Package Management
  • Storage Media
  • Networking
  • Searching for Files
  • Archiving and Backup
  • Regular Expressions
  • Text Processing
  • Formatting Output
  • Printing
  • Compiling Programs
  • Writing Your First Script
  • Starting a Project
  • Top-Down Design
  • Flow Control—Branching with if
  • Reading Keyboard Input
  • Flow Control—Looping with While/Until
  • Troubleshooting
  • Flow Control—Branching with Case
  • Positional Parameters
  • Flow Control—Looping with for
  • Strings and Numbers
  • Arrays
  • Exotica
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.0 of 4 users Rating 4.0 of 4 users (4)
Rating 4.4 of 18 users Rating 4.4 of 18 users (18)
Rating 4.3 of 15 users Rating 4.3 of 15 users (15)