Cover of Learning the bash Shell

Learning the bash Shell

Learning the bash Shell, Third Edition, is the definitive guide to bash, the Free Software Foundation's "Bourne Again Shell." It's a freely available replacement for the UNIX Bourne shell, and is the shell of choice for users of Linux, Mac OS X, BSD, and other UNIX systems.

Read more

You'll find this guide valuable whether you're interested in bash as a user interface or for its powerful programming capabilities. This book will teach you how to use bash's advanced command-line features, such as command history, command-line editing, and command completion.

This book also introduces shell programming,a skill no UNIX or Linus user should be without. The book demonstrates what you can do with bash's programming features. You'll learn about flow control, signal handling, and command-line processing and I/O. There is also a chapter on debugging your bash programs.

Finally, Learning the bash Shell, Third Edition, shows you how to acquire, install, configure, and customize bash, and gives advice to system administrators managing bash for their user communities.

This Third Edition covers all of the features of bash Version 3.0, while still applying to Versions 1.x and 2.x. It includes a debugger for the bash shell, both as an extended example and as a useful piece of working code. Since shell scripts are a significant part of many software projects, the book also discusses how to write maintainable shell scripts. And, of course, it discusses the many features that have been introduced to bash over the years: one-dimensional arrays, parameter expansion, pattern-matching operations, new commands, and security improvements.

Unfailingly practical and packed with examples and questions for future study, Learning the bash Shell Third Edition is a valuable asset for Linux and other UNIX users.

—back cover

Audience
adult
Length
medium · 333 pages

Click a tag to see books like this one that share it. Point at it (on a phone, tap it) for less of it instead.

Read it? Sign in to help tag it.

Liked Learning the bash Shell? Here’s where I’d start.

These suit anyone who liked Learning the bash Shell. Sign in and mark a few books for picks shaped around your own taste.

  1. sed & awk Shares programming, technical, computers
  2. Mastering Regular Expressions Shares programming, technical, computer
  3. The UNIX Programming Environment Shares programming, unix, computer science
  4. Classic Shell Scripting: Hidden Commands that Unlock the Power of Unix Shares programming, unix, it

“People who read Learning the bash Shell tend to reach for these next.”

  1. Learning Perl
  2. Learning Python
  3. Essential System Administration: Tools and Techniques for Linux and Unix Administration
  4. Linux System Programming: Talking Directly to the Kernel and C Library

“If you want more of the same (science about technology), start with these.”

  1. Object-Oriented Design Heuristics
  2. APIs: A Strategy Guide
  3. Pro Puppet
  4. Pragmatic Unit Testing in Java with JUnit

“If it was the programming that hooked you, try one of these.”

  1. Learning the vi and Vim Editors
  2. Advanced Programming in the UNIX Environment
  3. Linux Pocket Guide
  4. The Linux Programming Interface: A Linux and UNIX System Programming Handbook

“These start from a similar idea, even if they go somewhere else with it.”

  1. bash Pocket Reference
  2. Learning the Korn Shell
  3. Practical Guide to Linux (R) Commands, Editors, and Shell Programming
  4. UNIX in a Nutshell: A Desktop Quick Reference - Covers GNU/Linux, Mac OS X, and Solaris