Work in progress
From Linux Shell Scripting Tutorial - A Beginner's handbook
Go here to see first 9 completed chapters.
Chapter 11: Arrays
Chapter 12: Date and String Manipulation
- Bash string manipulation
- Find the length of string
- Howto: convert string to all uppercase
- Howto: convert string to all lowercase
- Howto: strip leading spaces from the string
- Howto: extract substring
- Howto: find and replace the string
- Howto: strip non-directory suffix from file name
- Howto: strip directory and suffix from file name
- date command
Chapter 13: Filters
- find command
- grep command
- gawk command
- sed command
- cut command
- paste command
- tr command
- uniq utility
- sort utility
Chapter 14: Advanced Sys Admin topics
- Cron jobs
- Creating man pages
- Creating source code patches
- OpenSSH
- Rsync remote file-copying tool
- Set default values for parameters
- The shift command
- The getopts command
- Services
- Packet filtering
Chapter 15: Putting It All Together
- Co-Processing - controlling other programs
- File system backup scripts
- MySQL database backup scripts
- PostgreSQL database backup scripts
- User management scripts
- FTP login scripts
- SSH login scripts
- Remote login scripts
- Server monitoring scripts
- Web based cgi-bin bash scripts
- BIND DNS scripts
- Webserver virtual domain management scripts
- Linux firewall management scripts
Credits
References & Resources