Skip to content

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.

Where the book teaches it

Related terms

exit code