The first thing users of the Linux operating system come face to face with is the shell. "Shell" is the UNIX term for a user interface to the system -- something that lets you communicate with the computer via the keyboard and display. Bash, the Free Software Foundation's "Bourne Again Shell," is the default shell for Linux, the popular free UNIX-like operating system. It's also a replacement for the standard UNIX Bourne shell, which serves both as a user interface and as a programming language. Like the FSF's other tools, bash is more than a mere replacement: it extends the Bourne shell in many ways. New features include command line editing, key bindings, integrated programming features, command completion, control structures (especially the select construct, which enables you to create menus easily) and new ways to customize your environment.
Whether you want to use bash for its user interface or its programming features you will find Learning the bash Shell a valuable guide. The book covers all of bash's features, both for interactive use and programming. If you are new to shell programming, Learning the bash Shell provides an excellent introduction, covering everything from the most basic to the most advanced features, like signal handling and command line processing. If you've been writing shell scripts for years, it offers a great way to find out what the new shell offers. The book is full of examples of shell commands and programs that are designed to be useful in your everyday life as a user, not just to illustrate the feature being explained. All of these examples are freely available to you online on the Internet.
With this book you'll learn:
How to install bash as your login shell
The basics of interactive shell use, including UNIX file and directory structures, standard I/O, and background jobs
Command line editing, history substitution, and key bindings
How to customize your shell environment without programming
The nuts and bolts of basic shell programming, flow control structures, command-line options and typed variables
Process handling, from job control to processes, coroutines and subshells
Debugging techniques, such as trace and verbose modes
Techniques for implementing system-wide shell customization and features related to system security
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The fish featured on the cover of Learning the bash Shell is a silver bass, one of the 400-500 species of sea bass. The silver bass, also known as the white perch, is found in freshwater bays and river mouths along the Atlantic coast from Nova Scotia to South Carolina, and is most abundant in the Chesapeake region. Silver bass live in large schools and feed on small fishes and crustaceans. Although many bass never stray far from one place their whole lives, silver bass swim upstream to spawn, often becoming landlocked in the process. Like most bass, the silver bass is attracted to bright, shiny objects, and they can be drawn quite close to swimmers and divers in this way. UNIX and its attendant programs can be unruly beasts. Nutshell Handbooks(R) help you tame them. ... Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. The cover layout was produced with Quark XPress 3.3 using the ITC Garamond font. The inside layout was designed by Edie Freedman and Jennifer Niederst and modified by Nancy Priest. It was implemented in gtroff by Lenny Muellner. The text a nd heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were created in Macromedia Freehand 4.0 by Chris Reilley. This colophon was written by Clairemarie Fisher O'Leary.