Shell and scripting
Automate repeatable command-line work with safe shell scripting.
message="Hello from Bash"
printf '%s\n' "$message"COURSE CURRICULUM
Finish one section at a time or jump directly to a concept you need.
Learn how bash execution, shells, and script entry points works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how commands, arguments, quoting, and expansion works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how shell variables, environment values, and scope works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how strings, integers, arrays, and exit statuses works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how pipelines, redirection, tests, and operators works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how if, case, and command success decisions works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how for, while, read, and bounded loops works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how functions, parameters, and return status works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how indexed arrays, associative arrays, and streams works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how safe text handling and parameter expansion works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how set options, traps, and defensive cleanup works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how sourcing scripts, configuration, and command lookup works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how processes, jobs, signals, and system resources works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how files, descriptors, subprocesses, and temporary data works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.
Learn how testing shell scripts and quoting boundaries works in Bash, why the underlying model matters, and how to apply it in a small program without hiding important trade-offs.