Exit status ($?)
Also known as: exit code
The number a Linux command returns when it ends: 0 for success, anything else for failure. Held in $? and used by pipelines to decide whether a step passed.
See it in context
Linux command line basics: Your first shell script and exit codes