Learning the bash Shell, Second Edition
By
Cameron Newham,
Bill Rosenblatt
January 1998
Pages: 336
| Table of Contents
| Index
| 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 File
-
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 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
-
Workalikes on PC Platforms
-
Appendix B Reference Lists
-
Invocation
-
Built-In Commands and Reserved Words
-
Environment Variables
-
Test Operators
-
set Options
-
shopt Options
-
I/O Redirection
-
emacs Mode Commands
-
vi Control Mode Commands
-
Appendix C Loadable Built-Ins
-
Appendix D Syntax
-
Reserved Words
-
BNF for bash
-
Appendix E Obtaining Sample Programs
-
FTP
-
FTPMAIL
-
Colophon
Return to Learning the bash Shell