Advanced shell scripting with Bash (Wellington)
Shell scripts are a cornerstone in modern software systems. They also break easily and in strange ways, like when August comes around or a filename starts with a hyphen. This course covers common pitfalls and use cases, enabling you to efficiently and effectively understand and modify complex shell scripts.
This course is based on Bash, but most of the course material is applicable to POSIX shells.
- Understanding complex commands from the outside in
- Pipes and subshells
- Dealing with binary data
- Reading, quoting, escaping and splitting strings
- Variables and arguments
- Exit codes
- Defensive coding
- Cleaning up state
- Debugging flags and tools
- And more…
Note: These are the topics normally covered but might alter slightly depending on the needs of the trainees.
Developers and sysadmins who need to maintain complex shell scripts.