Glossary: Operating System Basics
$?
A shell variable that holds the exit code of the last command. `echo $?` after `./health.sh` shows 1 when the script found a warning.
Glossary: Operating System Basics
A shell variable that holds the exit code of the last command. `echo $?` after `./health.sh` shows 1 when the script found a warning.