Duration: 2 days (6 hours per day)
Day 1 – Advanced Scripting Concepts & Automation
- Chapter 1: Advanced Shell Features
- Command substitution, process substitution, and arithmetic evaluation
- Arrays, associative arrays, and advanced variable handling
- Shell options and traps
- Chapter 2: Functions and Modular Scripts
- Creating reusable functions
- Passing arguments and return values
- Scope and local variables
- Chapter 3: Error Handling and Debugging
set -e,set -u, andset -o pipefail- Debugging with
set -xand logging - Custom error messages and exit codes
- Chapter 4: Input/Output and File Processing
- Reading from files and user input
- Advanced redirection (
exec,/dev/tcp,/dev/udp) - Here documents and here strings
Day 2 – Automation, System Integration & Security
- Chapter 5: Process and Job Control
- Background processes,
&,nohup, anddisown - Managing jobs with
jobs,fg,bg, andwait
- Background processes,
- Chapter 6: Networking and System Integration
- Interacting with APIs and HTTP requests (
curl,wget) - Automating system tasks: cron jobs, at jobs
- Monitoring system resources via scripts
- Interacting with APIs and HTTP requests (
- Chapter 7: Advanced Text Processing
- Using
awk,sed,grep,cut, andtrin scripts - Combining commands in pipelines for automation
- Using
- Chapter 8: Security and Best Practices
- Script permissions and execution policies
- Avoiding command injection vulnerabilities
- Logging and auditing script activity
- Chapter 9: Real-world Automation Projects
- Backup and replication scripts
- Monitoring and alerting scripts
- Deployment and CI/CD helper scripts