Skip to content

Glossary: Linux for Developers

exit code

Also written: exit status, exit

The number a command ends with: 0 means success and anything else means failure. The shell keeps the last one in `$?`.

Where the book teaches it

Related terms

$? (last exit code)&& and ||