Linux Exit Code Lookup
NewLook up what a Bash/Linux process exit code means, plus browse a searchable reference table of common exit codes including 128+signal codes.
| Code | Meaning | Common cause |
|---|
Frequently Asked Questions
Why is exit code 137 so common in Docker and Kubernetes?
137 = 128 + 9, meaning the process received signal 9 (SIGKILL). In containers this almost always means the OOM (out-of-memory) killer terminated the process because it exceeded its memory limit, or something ran `docker kill`/`kill -9` on it directly.
What is the difference between exit code 1 and exit code 2?
There is no universal standard distinguishing them, but by convention many tools use 1 as a generic "something went wrong" error and 2 specifically for incorrect command usage (wrong flags or arguments) in shell builtins, though individual programs are free to define their own meanings.
Why does 130 always mean Ctrl+C?
130 = 128 + 2, and signal 2 is SIGINT, which is exactly the signal your terminal sends when you press Ctrl+C. Seeing 130 reliably tells you the process was interactively interrupted rather than crashing on its own.
Can exit codes be larger than 255?
No — exit codes are stored in a single byte by the OS, so any value is automatically wrapped modulo 256 (e.g. exiting with 256 actually reports as 0, and -1 reports as 255), which is why code 255 is treated as "exit status out of range."
Does this tool run any commands to check exit codes?
No — it is a pure client-side reference and calculator; type a number to see its known meaning, or search the table. Nothing is executed on your machine or sent anywhere.
Related Tools
Chmod Calculator
NewCalculate Unix file permissions with a visual toggle grid and symbolic/octal notation.
Docker Cheatsheet
NewComplete reference for Docker CLI commands — containers, images, volumes, networks, and Compose.
Linux Commands Reference
NewSearchable reference for essential Linux/Unix commands with examples, flags, and descriptions.