Home > Store

A Practical Guide to Linux Commands, Editors, and Shell Programming, Rough Cuts, 4th Edition

A Practical Guide to Linux Commands, Editors, and Shell Programming, Rough Cuts, 4th Edition

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Also available in other formats.


  • Copyright 2018
  • Dimensions: 7" x 9"
  • Pages: 1232
  • Edition: 4th
  • Rough Cuts
  • ISBN-10: 0-13-477529-5
  • ISBN-13: 978-0-13-477529-6

This is the Rough Cut version of the printed book.

The Most Useful Tutorial and Reference, with Hundreds of High-Quality Examples for Every Popular Linux Distribution

“First Sobell taught people how to use Linux . . . now he teaches you the power of Linux. A must-have book for anyone who wants to take Linux to the next level.”

–Jon “maddog” Hall, Executive Director, Linux International

Discover the Power of Linux–Covers macOS, too!
  • Learn from hundreds of realistic, high-quality examples, and become a true command-line guru!
  • NEW! Covers MariaDB, DNF, and Python 3
  • Covers the  macOS command line and its unique tools
  • More than 300 page—long reference covers more than 100 utilities, including macOS commands!

For use with all popular versions of Linux, including Ubuntu™, Fedora™, openSUSE™, Red Hat®, Debian, Mageia, Mint, Arch, CentOS, and macOS, too!

Linux is today’s dominant Internet server platform. System administrators and Web developers need deep Linux fluency, including expert knowledge of shells and the command line. This is the only guide with everything you need to achieve that level of Linux mastery. Renowned Linux expert Mark Sobell has brought together comprehensive, insightful guidance on the tools sysadmins, developers, and power users need most, and has created an outstanding day-to-day reference, updated with assistance from new coauthor Matthew Helmke.

This title is 100 percent distribution and release agnostic. Packed with hundreds of high-quality, realistic examples, it presents Linux from the ground up: the clearest explanations and most useful information about everything from filesystems to shells, editors to utilities, and programming tools to regular expressions.

Use a Mac? You’ll find coverage of the macOS command line, including macOS-only tools and utilities that other Linux/UNIX titles ignore.

A Practical Guide to Linux® Commands, Editors, and Shell Programming, Fourth Edition, is the only guide to deliver

  • A MariaDB chapter to get you started with this ubiquitous relational database management system (RDBMS)
  • A masterful introduction to Python for system administrators and power users
  • In-depth coverage of the bash and tcsh shells, including a complete discussion of environment, inheritance, and process locality, plus coverage of basic and advanced shell programming
  • Practical explanations of 98 core utilities, from aspell to xargs, including printf and sshfs/curlftpfs, PLUS macOS—specific utilities from ditto to SetFile
  • Expert guidance on automating remote backups using rsync
  • Dozens of system security tips, including step-by-step walkthroughs of implementing secure communications using ssh and scp
  • Tips and tricks for customizing the shell, including step values, sequence expressions, the eval builtin, and implicit command-line continuation
  • High-productivity editing techniques using vim and emacs
  • A comprehensive, 300-plus-page command reference section covering more than 100 utilities, including find, grep, sort, and tar
  • Instructions for updating systems using apt-get and dnf
  • And much more, including coverage of BitTorrent, gawk, sed, find, sort, bzip2, and regular expressions

Sample Content

Table of Contents


Chapter 1: Welcome to Linux and macOS

Part I: The Linux and macOS Operating Systems

Chapter 2: Getting Started

Chapter 3: The Utilities

Chapter 4: The Filesystem

Chapter 5: The Shell

Part II: The Editors

Chapter 6: The vim Editor

Chapter 7: The emacs Editor

Part III: The Shells

Chapter 8: The Bourne Again Shell (bash)

Chapter 9: The TC Shell (tcsh)

Part IV: Programming Tools

Chapter 10: Programming the Bourne Again Shell (bash)

Chapter 11: The Perl Scripting Language

Chapter 12: The Python Programming Language

Chapter 13: The MariaDB SQL Database Management System

Chapter 14: The AWK Pattern Processing Language

Chapter 15: The sed Editor

Part V: Secure Network Utilities

Chapter 16: The rsync Secure Copy Utility

Chapter 17: The OpenSSH Secure Communication Utilities

Part VI: Command Reference

Part VII: Appendixes

Appendix A: Regular Expressions

Appendix B: Help

Appendix C: Keeping the System Up-to-Date

Appendix D: macOS Notes


File Tree Index

Utility Index

Main Index


Submit Errata

More Information