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

  1. Trip 28Need to execute multiple commandsCreate a Bash script →
    Learning goalNot yet practiced
  2. Trip 29Need to make scripts executableUse shebangs and chmod →
    Learning goalNot yet practiced
  3. Trip 30Need to accept script argumentsUse $1, $@, and argument validation →
    Learning goalNot yet practiced
  4. Trip 31Need to store valuesUse variables and quoting correctly →
    Learning goalNot yet practiced
  5. Trip 32Need conditional behaviorUse if, elif, and case →
    Learning goalNot yet practiced
  6. Trip 33Need repeated executionUse for and while →
    Learning goalNot yet practiced
  7. Trip 34Need reusable logicCreate Bash functions →
    Learning goalNot yet practiced
  8. Trip 35Need reliable error handlingUse exit codes, set -euo pipefail, and explicit checks →
    Learning goalNot yet practiced
  9. Trip 36Need to handle temporary resourcesUse trap and cleanup functions →
    Learning goalNot yet practiced
  10. Trip 37Need to process files line by lineUse read and loops →
    Learning goalNot yet practiced
  11. Trip 38Need to automate HTTP requestsCombine curl, Bash, and jq →
    Learning goalNot yet practiced
  12. Trip 39Need to validate configurationWrite a script that checks required commands and variables →
    Learning goalNot yet practiced
  13. Trip 40Need to debug a scriptUse bash -x and ShellCheck →
    Learning goalNot yet practiced

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