• Skip to primary navigation
  • Skip to main content

Daniel J. Barrett

  • Home
  • Books
    • Efficient Linux at the Command Line
    • Linux Pocket Guide, 4th Edition
    • Linux Security Cookbook
    • Macintosh Terminal Pocket Guide
    • MediaWiki
    • Responsible Software Engineering
    • SSH, the Secure Shell: The Definitive Guide
    • Translations and Other Editions
    • Out of Print
  • Blog
  • About
  • Contact

Linux Pocket Guide, Fourth Edition

Buy: Amazon US • O'Reilly • Bookshop.org • Amazon CA • Amazon UK

If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This 20th anniversary edition adds 50 new commands for file handling, package management, version control, file format conversions, containers, and more, including commands suggested by readers.

Linux Pocket Guide provides an organized learning path for the most useful Linux commands, grouped by functionality. For novices who need to get up to speed and experienced users who want a concise and functional reference, this guide delivers quick answers.

You’ll learn:

  • Essential concepts—commands, shells, users, and the filesystem
  • File commands—creating, organizing, manipulating, and processing files of all kinds
  • SysAdmin basics—superusers, processes, user management, and software installation
  • Filesystem maintenance—disks, RAID, logical volumes, backups, and more
  • Networking commands—working with hosts, network connections, email, and the web
  • Getting stuff done—everything from math to version control to graphics and audio

Let this practical book  be your everyday guide to the most important Linux commands.

Contents

  1. What’s in This Book?
  2. What’s New in the Fourth Edition?
  3. Conventions Used in This Book
  4. Downloading the Practice Files

Chapter 1: Essential Concepts

  1. What’s Linux?
  2. The Structure of Commands
  3. Users and Superusers
  4. The Filesystem
  5. Selected Features of the bash Shell
  6. Getting Help

Chapter 2: File Commands

  1. Basic File Operations
  2. Directory Operations
  3. Viewing Files
  4. Creating and Editing Files
  5. Properties of Files
  6. Locating Files
  7. Manipulating Text in Files
  8. Compressing, Packaging, and Encrypting
  9. Comparing Files
  10. Converting Files to Other Formats
  11. PDF and PostScript File Handling
  12. Printing
  13. Spellchecking

Chapter 3: System Administration Basics

  1. Becoming the Superuser
  2. Viewing Processes
  3. Controlling Processes
  4. Scheduling Jobs
  5. Logins, Logouts, and Shutdowns
  6. Users and Their Environment
  7. User Account Management
  8. Group Management
  9. Installing Software Packages
  10. Installing Software From Source Code

Chapter 4: Filesystem Maintenance

  1. Using Disks and Filesystems
  2. Creating and Modifying Filesystems
  3. RAID Arrays for Redundancy
  4. Logical Volumes for Flexible Storage
  5. ZFS: A Modern, Do-It-All Filesystem
  6. Backups and Remote Storage

Chapter 5: Networking Commands

  1. Host Information
  2. Host Location
  3. Network Connections
  4. Email in Daily Use
  5. Email Servers
  6. Web Browsing

Chapter 6: Getting Stuff Done

  1. Screen Output
  2. Copy and Paste
  3. Math and Calculations
  4. Dates and Times
  5. Version Control
  6. Containers
  7. Displaying and Processing Images
  8. Audio and Video
  9. Programming with Shell Scripts
  10. Final Words

Buy: Amazon US • O'Reilly • Bookshop.org • Amazon CA • Amazon UK

Download the Examples

Practice your new Linux skills as you read the book: download the sample commands

Copyright 2026 Daniel J. Barrett