Phase 3 / 11 · Trips 28–40
Bash Scripting and Automation
Automate repetitive development and operations tasks.
Walkthroughs planned
Before this phase: Text Processing and CLI Productivity — checkpoint
- Trip 28Need to execute multiple commandsCreate a Bash script →
- Trip 29Need to make scripts executableUse shebangs and chmod →
- Trip 30Need to accept script argumentsUse $1, $@, and argument validation →
- Trip 31Need to store valuesUse variables and quoting correctly →
- Trip 32Need conditional behaviorUse if, elif, and case →
- Trip 33Need repeated executionUse for and while →
- Trip 34Need reusable logicCreate Bash functions →
- Trip 35Need reliable error handlingUse exit codes, set -euo pipefail, and explicit checks →
- Trip 36Need to handle temporary resourcesUse trap and cleanup functions →
- Trip 37Need to process files line by lineUse read and loops →
- Trip 38Need to automate HTTP requestsCombine curl, Bash, and jq →
- Trip 39Need to validate configurationWrite a script that checks required commands and variables →
- Trip 40Need to debug a scriptUse bash -x and ShellCheck →
Checkpoint · Phase 3
Build a script that checks an HTTP endpoint, parses JSON, reports failures, and exits with the correct status.
Mark this checkpoint when you can achieve the outcome independently.
Not yet achieved