Advanced Bash Scripting Guide 写unix Shell脚本
%E5%86%99unix%20shell%E8%84%9A%E6%9C%AC-guide
User Manual:
Open the PDF directly: View PDF
Page Count: 454 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Table of Contents
- Chapter 1. Why Shell Programming?
- Chapter 2. Starting Off With a Sha-Bang
- Part 2. Basics
- Chapter 3. Special Characters
- Chapter 4. Introduction to Variables and Parameters
- Chapter 5. Quoting
- Chapter 6. Exit and Exit Status
- Chapter 7. Tests
- Chapter 8. Operations and Related Topics
- Part 3. Beyond the Basics
- Chapter 9. Variables Revisited
- Chapter 10. Loops and Branches
- Chapter 11. Internal Commands and Builtins
- Chapter 12. External Filters, Programs and Commands
- Chapter 13. System and Administrative Commands
- Chapter 14. Command Substitution
- Chapter 15. Arithmetic Expansion
- Chapter 16. I/O Redirection
- Chapter 17. Here Documents
- Chapter 18. Recess Time
- Part 4. Advanced Topics
- Chapter 19. Regular Expressions
- Chapter 20. Subshells
- Chapter 21. Restricted Shells
- Chapter 22. Process Substitution
- Chapter 23. Functions
- Chapter 24. Aliases
- Chapter 25. List Constructs
- Chapter 26. Arrays
- Chapter 27. Files
- Chapter 28. /dev and /proc
- Chapter 29. Of Zeros and Nulls
- Chapter 30. Debugging
- Chapter 31. Options
- Chapter 32. Gotchas
- Chapter 33. Scripting With Style
- Chapter 34. Miscellany
- Chapter 35. Bash, version 2
- Chapter 36. Endnotes
- Bibliography
- Appendix A. Contributed Scripts
- Appendix B. A Sed and Awk Micro-Primer
- Appendix C. Exit Codes With Special Meanings
- Appendix D. A Detailed Introduction to I/O and I/O Redirection
- Appendix E. Localization
- Appendix F. History Commands
- Appendix G. A Sample .bashrc File
- Appendix H. Converting DOS Batch Files to Shell Scripts
- Appendix I. Exercises
- Appendix J. Copyright