Learning the bash Shell, Third Edition
Unix Shell Programming
By
Cameron Newham,
Bill Rosenblatt
March 2005
Pages: 352
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
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
Return to Learning the bash Shell