Value Meaning
0 Command exited successfully.
> 0 Failure during redirection or word expansion (tilde, variable, command, and arithmetic expansions, as well as word splitting).
1-125 Command exited unsuccessfully. The meanings of particular exit values are defined by each individual command.
126 Command found, but file was not executable.
127 Command not found.
128 unspecified by POSIX
> 128 Command died due to receiving a signal.
Web Page Copyright: 亞洲大學資訊電機學院 連耀南 yaonanlien@asia.edu.tw  posixexit.htm,  Thu Sep 7 16:18:54 CST 2023