-
Chapter 1 bash Basics
-
What Is a Shell?
-
Scope of This Book
-
History of UNIX Shells
-
Getting bash
-
Interactive Shell Use
-
Files
-
Input and Output
-
Background Jobs
-
Special Characters and Quoting
-
Help
-
-
Chapter 2 Command-Line Editing
-
Enabling Command-Line Editing
-
The History List
-
emacs Editing Mode
-
vi Editing Mode
-
The fc Command
-
History Expansion
-
readline
-
Keyboard Habits
-
-
Chapter 3 Customizing Your Environment
-
The .bash_profile, .bash_logout, and .bashrc Files
-
Aliases
-
Options
-
Shell Variables
-
Customization and Subprocesses
-
Customization Hints
-
-
Chapter 4 Basic Shell Programming
-
Shell Scripts and Functions
-
Shell Variables
-
String Operators
-
Command Substitution
-
Advanced Examples: pushd and popd
-
-
Chapter 5 Flow Control
-
if/else
-
for
-
case
-
select
-
while and until
-
-
Chapter 6 Command-Line Options and Typed Variables
-
Command-Line Options
-
Typed Variables
-
Integer Variables and Arithmetic
-
Arrays
-
-
Chapter 7 Input/Output and Command-Line Processing
-
I/O Redirectors
-
String I/O
-
Command-Line Processing
-
-
Chapter 8 Process Handling
-
Process IDs and Job Numbers
-
Job Control
-
Signals
-
trap
-
Coroutines
-
Subshells
-
Process Substitution
-
-
Chapter 9 Debugging Shell Programs
-
Basic Debugging Aids
-
A bash Debugger
-
-
Chapter 10 bash Administration
-
Installing bash as the Standard Shell
-
Environment Customization
-
System Security Features
-
-
Chapter 11 Shell Scripting
-
What's That Do?
-
Starting Up
-
Potential Problems
-
Don't Use bash
-
-
Chapter 12 bash for Your System
-
Obtaining bash
-
Unpacking the Archive
-
What's in the Archive
-
Who Do I Turn to?
-
-
Appendix A Related Shells
-
The Bourne Shell
-
The IEEE 1003.2 POSIX Shell Standard
-
The Korn Shell
-
pdksh
-
zsh
-
Shell Clones and Unix-like Platforms
-
-
Appendix B Reference Lists
-
Invocation
-
Prompt String Customizations
-
Built-In Commands and Reserved Words
-
Built-In Shell Variables
-
Test Operators
-
set Options
-
shopt Options
-
I/O Redirection
-
emacs Mode Commands
-
vi Control Mode Commands
-
-
Appendix C Loadable Built-Ins
-
Appendix D Programmable Completion
-
Colophon
- Title:
- Learning the bash Shell, Third Edition
- By:
- Cameron Newham
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- March 2005
- Ebook Release:
- February 2009
- Pages:
- 360
- Print ISBN:
- 978-0-596-00965-6
- | ISBN 10:
- 0-596-00965-8
- Ebook ISBN:
- 978-0-596-15896-5
- | ISBN 10:
- 0-596-15896-3
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 animal on the cover of Learning the bash Shell, Third Edition, 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 of North America 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 can be drawn quite close to swimmers and divers in this way. Colleen Gorman was the production editor and copyeditor for Learning the bash Shell, Third Edition. MaryAnne Weeks Mayo, Lydia Onofrei, and Emily Quill provided quality control. Peter Ryan provided production assistance. Angela Howard wrote the index.
Edie Freedman designed the cover of this book. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Karen Montgomery produced the cover layout with Adobe InDesign CS using Adobe's ITC Garamond font.
