Advanced Bash Script Programming Guide

Source: Internet
Author: User
Advanced Bash Script Programming Guide-general Linux technology-Linux programming and kernel information. Read the following for details. Advanced Bash Script Programming Guide

Main directory
Part 1. Warm up

1. Why use shell programming?
2. Start with a Sha-Bang (Sha-Bang refers #!)
2.1. Call a script
2.2. Preliminary exercises

Part 2. Basics
3. Special characters
4. Introduction to variables and parameters
4.1. replace variables
4.2. Variable assignment
4.3. Bash variables are of different types.
4.4. Special variable types
5. Reference
5.1. Reference Variables
5.2. Escape
6. Exit and exit Status Codes
7. Condition judgment
7.1. Conditional Test Structure
7.2. File test operators
7.3. Other comparison Operators
7.4. nested if/then condition test
7.5. Check your knowledge about testing
8. Operators and related topics
8.1. Operators
8.2. Numeric Constants
Part 3. Advanced
9. Variable re-visit
9.1. Internal Variables
9.2. Operation string
9.3. Parameter replacement
9.4. Specify the variable type: Use declare or typeset
9.5. indirect reference of Variables
9.6. $ RANDOM: generates RANDOM Integers
9.7. Double parentheses
10. Loop and branch
10.1. Loop
10.2. nested loop
10.3. Loop Control
10.4. Test and branch (case and select structure)
11. Internal commands and built-in commands
11.1. Job control commands
12. External filters, programs, and commands
12.1. Basic commands
12.2. Complex commands
12.3. Time/date command
12.4. Text processing commands
12.5. File and archiving commands
12.6. Communication commands
12.7. Terminal Control commands
12.8. Mathematical computing commands
12.9. Mixed commands
13. System and Management commands
13.1. Analyze a system script
14. Command replacement
15. Arithmetic Extension
16. I/O redirection
16.1. Use exec
16.2. code block redirection
16.3. Redirection Application
17. Here Document
17.1. Here String
18. rest for a moment
Part 4. advanced topics
19. Regular Expression
19.1. A brief introduction to Regular Expressions
19.2. globbing)
20. Sub-shell
21. Restricted shell
22. Process replacement
23. Functions
23.1. complexity of complex functions and functions
23.2. Local Variables
23.3. recursion without local variables
24. Alias
25. List Structure
26. Array
27./dev and/proc
27.1./dev
27.2./proc
28. Zero and Null
29. debugging
30. Options
31. traps
32. Script Programming Style
32.1. Unofficial Shell scripting Style
33. Miscellaneous
33.1. Interactive and non-interactive interaction and non-interactive shell and scripts
33.2. Shell Packaging
33.3. Test and comparison: an optional method.
33.4. Recursion
33.5. colorize the script"
33.6. Optimization
33.7. Tips
33.8. Security Issues
33.9. Portability Problems
33.10. shell scripts in Windows
34. Bash, version 2 and Version 3
34.1. Bash, Version 2
34.2. Bash, version 3
35. Postscript
35.1. Post-author
35.2. About the author
35.3 translator's postscript
35.3.1. Yang chunmin
35.3.2. Huang Yi
35.4. Where can I get help?
35.5. Tools used to make this book
35.5.1. Hardware
35.5.2. Software and typographical Software
35.6. Thank you
35.7. Thanks to the translator
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.