Skip to main content
DevOpsLabTH.dev

Branch on conditions with if

Bash `if [ ... ]; then ... elif ... else ... fi` is the workhorse of every shell script. Write a script that decides between two answers based on a numeric argument.

Sign in to start the lab