All courses

Bash for ops, done safely

For anyone comfortable at a Linux prompt who has never written a script. You learn the Bash language on Ubuntu Server 26.04 (Bash 5.3): variables, quoting, redirection, exit status, conditionals, loops, functions, arrays and command-line options. Then the part that keeps scripts from causing outages: what set -euo pipefail really does and does not catch, traps and signals, temp files, locks and timeouts, and ShellCheck, shfmt and Bats. Every script and output in the course was run on the lab machine, and the course ends with a backup job you could leave running.

Beginner4 sections · 15 lessons · ~7h total · 42-question self-test

Progress is saved in this browser only — no account required.

Quick reference

Final exam
Test yourself on everything
42 questions drawn from all 4 sections — every answer explained as you pick.
Start final exam