- Used Books
- Staff Picks
- Gifts & Gift Cards
- Sell Books
- Stores & Events
- Let's Talk Books
Special Offers see all
More at Powell's
Recently Viewed clear list
New Trade Paper
Ships in 1 to 3 days
More copies of this ISBN
Other titles in the Pocket Reference series:
Bash Pocket Referenceby Arnold Robbins
Synopses & Reviews
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. 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.
This second edition covers all of the features of bash Version 2.0, while still applying to bash Version 1.x. New features include the addition of one-dimensional arrays, parameter expansion, and more pattern-matching operations. bash 2.0 provides even more conformity with POSIX.2 standards, and in POSIX.2 mode is completely POSIX.2 conformant. This second edition covers several new commands, security improvements, additions to ReadLine, improved configuration and installation, and an additional programming aid, the bash shell debugger.
With this book you'll learn:
This second edition covers all of the features of "bash" Version 2.0 while still applying to "bash" Version 1.X. It includes one dimensional arrays, parameter expansion, more pattern-matching operations, new commands, security improvements, additions to ReadLine, improved configuration and installation, and more.
This guide teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell--the bash shell--and cygwin or other popular Unix emulation packages.
It's simple: you need to know how to work with the bash shell if you want to get to the heart of Mac OS X, Linux, and other Unix systems. Updated for the most recent version of bash, this concise little book puts all of the essential information about bash at your fingertips. You'll quickly find answers to annoying questions that always come up when you're writing shell scripts — What characters do you need to quote? How do you get variable substitution to do exactly what you want? How do you use arrays? — and much more.
If you're a user or programmer of any Unix variant, or if you're using bash on Windows, you'll find this pocket reference indispensable. This book covers:
Learning the bash Shell is the definitive guide to bash, the Free Software Foundation's "Bourne Again Shell". It's a freely available replacement for the popular UNIX Bourne shell. It is also the shell of choice for Linux users around the world. You'll find this guide valuable whether you're interested in bash as a user interface or for its powerful programming capabilities. It will teach you how to use bash's advanced command-line features, like command history, command-line editing, and command completion. Learning the bash Shell also introduces shell programming, a skill no UNIX or Linux 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 shows you how to get bash, install it, configure it, and customize it. It also gives advice to system administrators managing bash for their user community.
About the Author
Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.
Table of Contents
PrefaceChapter 1: bash BasicsChapter 2: Command-Line EditingChapter 3: Customizing Your EnvironmentChapter 4: Basic Shell ProgrammingChapter 5: Flow ControlChapter 6: Command-Line Options and Typed VariablesChapter 7: Input/Output and Command-Line ProcessingChapter 8: Process HandlingChapter 9: Debugging Shell ProgramsChapter 10: bash AdministrationChapter 11: bash for Your SystemRelated ShellsReference ListsLoadable Built-InsSyntaxObtaining Sample ProgramsColophon
What Our Readers Are Saying
Other books you might like
Computers and Internet » Computer Languages » The Attic
Computers and Internet » Nutshell » General
Computers and Internet » Operating Systems » Linux
Computers and Internet » Operating Systems » Unix » Linux