Lesson 17 of 18 · User
Bash scripts 1: first script, arguments, read, exit codes, if
Objective
Move from commands typed by hand to the script: a file that runs a series of commands, receives arguments, asks questions, makes decisions with if and reports its result with an exit code. This is the basis of all automation: backups, checks, installations.
This lesson is part of the full course
Unlock Linux Command-Line Fundamentals to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.