|
Latest Bash Tutorial
Abstracts:
Advanced Bash-Scripting Guide
An in-depth exploration of the art of shell scripting
Mendel Cooper
<thegrendel@theriver.com>
3.1
14 November 2004
Revision History
Revision 2.8 11 July 2004 Revised by: mc
'ELDERBERRY' release: Minor update.
Revision 3.0 03 Oct 2004 Revised by: mc
'LOGANBERRY' release: Major update.
Revision 3.1 14 Nov 2004 Revised by: mc
'BAYBERRY' release: Bugfix update.
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 snippets 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.
The latest update of this document, as an archived, bzip2-ed "tarball" including both the SGML source and rendered HTML, may be downloaded from the author's home site. A pdf version is also available. See the change log for a revision history.
Dedication
For Anita, the source of all the magic
Table of Contents
Part 1. Introduction
1. Why Shell Programming?
2. Starting Off With a Sha-Bang
Part 2. Basics
3. Special Characters
4. Introduction to Variables and Parameters
5. Quoting
6. Exit and Exit Status
7. Tests
8. Operations and Related Topics
Part 3. Beyond the Basics
9. Variables Revisited
10. Loops and Branches
11. Internal Commands and Builtins
12. External Filters, Programs and Commands
13. System and Administrative Commands
14. Command Substitution
15. Arithmetic Expansion
16. I/O Redirection
17. Here Documents
18. Recess Time
Part 4. Advanced Topics
19. Regular Expressions
20. Subshells
21. Restricted Shells
22. Process Substitution
23. Functions
24. Aliases
25. List Constructs
26. Arrays
27. Files
28. /dev and /proc
29. Of Zeros and Nulls
30. Debugging
31. Options
32. Gotchas
33. Scripting With Style
34. Miscellany
35. Bash, versions 2 and 3
36. Endnotes
36.1. Author's Note
36.2. About the Author
36.3. Where to Go For Help
36.4. Tools Used to Produce This Book
36.5. Credits
...
...
... |
|