Skip to main content

Linux Command Line and Shell Scripting Bible, 2nd Edition

Linux Command Line and Shell Scripting Bible, 2nd Edition

Richard Blum, Christine Bresnahan

ISBN: 978-1-118-00442-5

Apr 2011

840 pages


The authoritative guide to Linux command line and shell scripting?completely updated and revised [it's not a guide to Linux as a whole ? just to scripting]

The Linux command line allows you to type specific Linux commands directly to the system so that you can easily manipulate files and query system resources, thereby permitting you to automate commonly used functions and even schedule those programs to run automatically. This new edition is packed with new and revised content, reflecting the many changes to new Linux versions, including coverage of alternative shells to the default bash shell. For this edition, the author has teamed up with another Linux expert ? with their shared expertise, they take you beyond the basics of shell scripting and guide you through using shell scripting for higher-level applications that are commonly found in Linux environments. In addition, this edition features a host of real-world examples, so you can see how the scripts work in application.

  • Reflects changes to new Linux versions and covers alternate shells to the default bash shell
  • Offers new chapters on working with file system commands and software installation commands
  • Includes a plethora of real-world examples of advanced shell scripting
  • Shows how to use shell scripts in a graphical desktop environment

With Linux Command Line and Shell Scripting Bible you'll learn to manage file systems, install software, write scripts for graphical desktops, work with alternative shells, and more.


Part I: The Linux Command Line.

Chapter 1: Starting with Linux Shells.

Chapter 2: Getting to the Shell.

Chapter 3: Basic bash Shell Commands.

Chapter 4: More bash Shell Commands.

Chapter 5: Using Linux Environment Variables.

Chapter 6: Understanding Linux File Permissions.

Chapter 7: Managing Filesystems.

Chapter 8: Installing Software.

Chapter 9: Working with Editors.

Part II: Shell Scripting Basics.

Chapter 10: Basic Script Building.

Chapter 11: Using Structured Commands.

Chapter 12: More Structured Commands.

Chapter 13: Handling User Input.

Chapter 14: Presenting Data.

Chapter 15: Script Control.

PART III: Advanced Shell Scripting.

Chapter 16: Creating Functions.

Chapter 17: Writing Scripts for Graphical Desktops.

Chapter 18: Introducing sed and gawk.

Chapter 19: Regular Expressions.

Chapter 20: Advanced sed.

Chapter 21: Advanced gawk.

Chapter 22: Working with Alternative Shells.

Part IV: Advanced Shell Scripting Topics.

Chapter 23: Using a Database.

Chapter 24: Using the Web.

Chapter 25: Using E-mail.

Chapter 26: Writing Script Utilities.

Chapter 27: Advanced Shell Scripts.

Appendix A: Quick Guide to bash Commands.

Appendix B: Quick Guide to sed and gawk.


Complete code for the Linux Command Line and Shell Scripting Bible, Second Edition