- Author: Mendel Cooper
- Format: online HTML
- Price: free
This tutorial assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate/advanced level of instruction . . . all the while sneaking in little nuggets of UNIX® wisdom and lore. It serves as a textbook, a manual for self-study, and a reference and source of knowledge on shell scripting techniques. The exercises and heavily-commented examples invite active reader participation, under the premise that the only way to really learn scripting is to write scripts.
This book is suitable for classroom use as a general introduction to programming concepts.
Chapters include:
- Shell Programming!
- Starting Off With a Sha-Bang
- Special Characters
- Introduction to Variables and Parameters
- Quoting
- Exit and Exit Status
- Tests
- Operations and Related Topics
- Another Look at Variables
- Manipulating Variables
- Loops and Branches
- Command Substitution
- Arithmetic Expansion
- Recess Time
- Internal Commands and Builtins
- External Filters, Programs and Commands
- System and Administrative Commands
- Regular Expressions
- Here Documents
- I/O Redirection
- Subshells
- Restricted Shells
- Process Substitution
- Functions
- Aliases
- List Constructs
- Arrays
- Indirect References
- /dev and /proc
- Of Zeros and Nulls
- Debugging
- Options
- Gotchas
- Scripting With Style
- Miscellany
- Bash, versions 2, 3, and 4