Expand description
Bash exit codes
Constants
Usually indicates that the command was not found by the shell, or that
the command is found but that a library it requires is not found.
Command was found but is not executable by the shell.
Usually indicates that the command was not found by the shell, or that
the command is found but that a library it requires is not found.
The
SIGABRT
signal is sent to a process by its controlling terminal
when process abort signalThe
SIGALRM
signal is sent to a process when the time limit specified
in a call to a preceding alarm setting function (such as setitimer
)
elapses.The
SIGFPE
signal is sent to a process by its controlling terminal
when there is an erroneous arithmetic operationThe
SIGHUP
signal is sent to a process when its controlling terminal
is closed.The
SIGILL
signal is sent to a process by its controlling terminal
when an illegal instruction is encounteredThe
SIGINT
signal is sent to a process by its controlling terminal
when a user wishes to interrupt the process.The
SIGKILL
signal is sent to a process to cause it to terminate
immediately. In contrast to SIGTERM
and SIGINT
, this signal cannot
be caught or ignored, and the receiving process cannot perform any
clean-up upon receiving this signal.The
SIGPIPE
signal is sent to a process when it attempts to write to
a pipe without a process connected to the other end.The
SIGQUIT
signal is sent to a process by its controlling terminal
when a user quit from keyboard (Ctrl-. or, Ctrl-4 or, on the virtual console, the SysRq key)The
SIGSEGV
signal is sent to a process on invalid memory referenceThe
SIGTERM
signal is sent to a process to request its termination.
Unlike the SIGKILL
signal, it can be caught and interpreted or
ignored by the process.The
SIGTRAP
signal is sent to a process by its controlling terminal
when there is a trace/breakpoint trapExit status out of range
Command line usage error
Functions
Convert
std::io::ErrorKind
to a Code