Standard Unix & Bash Shell Exit Codes Reference

Conventional exit status codes (0–255) for CLI scripts and CI pipelines.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Exit CodeMeaningCommon Cause
0SuccessCommand completed cleanly
1General errorAssertion or runtime failure
2Misuse of shell builtinsInvalid CLI flags/syntax
126Not executableMissing +x permission
127Command not foundBinary missing from PATH
137128 + 9 (SIGKILL)OOM killer or forced kill

Technical Explanation

Conventional exit status codes (0–255) for CLI scripts and CI pipelines. Verified against authoritative technical standards.

Worked Examples

  • Search or scan Standard Unix & Bash Shell Exit Codes Reference for exact codes, formulas, or standard limits.

Limitations & Assumptions

  • Reference values reflect published standards as of the verification date.

Source References & Verification

Resource ID: ref-linux-exit-codes · Independently verified: 2026-11-25

Related Resources