Lessons
Terminal · Expert
Terminal · Expert. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Process substitution
Feed command output as a file with <( ) and >( ).

Lesson 2
Advanced redirects and /dev/fd
Duplicate FDs, merge streams, and name /dev/fd paths.

Lesson 3
trap and EXIT cleanup
Run handlers on signals and shell exit.

Lesson 4
Associative arrays and namerefs
declare -A maps and declare -n aliases.

Lesson 5
Jobs, wait, and coproc
Background control, wait, and a bash coproc sketch.

Lesson 6
Strict mode and ERR/xtrace
set -euo pipefail, ERR traps, and set -x.

Lesson 7
awk glue for pipelines
Field math and filters awk does better than cut.

Lesson 8
Parameter expansion and =~
${var%%pat}, defaults, and [[ =~ ]] regex.

Lesson 9
Secure scripting habits
Quote, IFS, mktemp, and tight permissions.

Lesson 10
Expert capstone
Strict script: tempdir, awk glue, jobs, cleanup.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.