The Linux Command Line: A Complete Introduction

  • 6h 58m
  • William E. Shotts, Jr.
  • No Starch Press
  • 2012

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.

About the Author

William E. Shotts, Jr. has been a software professional and avid Linux user for more than 15 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

  • The Linux Command Line—A Complete 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 and 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.4 of 17 users Rating 4.4 of 17 users (17)
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)