Start with no scripting experience. Learn to run small scripts, preserve text, handle input and compose fixed commands. Complete the linked practice, projects and offline cumulative assessment.
Learning outcomes
Earn a cryptographically verifiable Certificate of Completion to showcase on LinkedIn and your resume upon finishing all module lessons and assessments.
Run a saved Bash script and distinguish its stdout from its exit status. Practice: Complete the greeting project; invoke the file with bash, then immediately inspect $? after a successful run and after false.
Distinguish shell variables, exported values, unset and empty values, and positional arguments. Practice: Set a local scalar and inspect it in a child bash; repeat after export. Use set -- with a space-containing value and an empty value. Record the argument count and values.
Preserve exact argument boundaries and use fixed printf formats. Practice: Complete Argument Inspector. Compare quoted and unquoted expansion with a literal space, empty argument and a percent sign in a private fixture.
Predict the effects of brace expansion, command substitution, splitting and globbing. Practice: Create a disposable directory with a.txt and b.txt. Predict and compare printf arguments for a literal brace list, a quoted glob and an unquoted glob. Capture a command producing two trailing newlines.
Choose defaults and pattern trimming appropriate to unset, empty and multi-dot inputs. Practice: Complete Filename Labeler. Compare ${v-default} with ${v:-default} for unset and empty v. Test a multi-dot filename with a space.
Read text without stripping its backslashes or spaces and interpret command status separately from output. Practice: In a private fixture use IFS= read -r to read a complete line and then a final unterminated line. Record both text and read status immediately. Compare with mapfile where supported.
Select a string or integer test and branch on command status. Practice: Complete Input Validator with empty, whitespace-only and missing arguments; compare a literal equality test with a fixed pattern match.
Validate bounded decimal strings before computing and distinguish arithmetic results from status. Practice: Compare 08 with a validated decimal conversion using 10#; predict ((0)) and ((2)) statuses. Explain why fractional work needs another tool.
Implement bounded loops and distinguish EOF from valid menu termination. Practice: Complete Menu and Counter. Test quit, exactly three valid choices and premature EOF. Record why a pipeline loop may lose changes to a variable.
Build fixed command arrays and preserve every supplied argument including empty elements. Practice: Complete Command Wrapper and compare zero arguments with one empty argument. Use an associative array only with fixed keys in a separate practice snippet.