Skip to content

Glossary: Operating System Basics

exit code

Also written: exit, exit 0, exit 1

The number a program ends with: 0 means success and anything else means a problem. `health.sh` exits with 1 when it found a warning, so other tools can react.

Where the book teaches it

Related terms

$?script