$ man 7 signal
Signal reference
A process died and the shell says "killed by signal 11", or you need to know whether you can catch the thing you are about to send. Each signal below has its Linux number, its default action, the FreeBSD number (they differ for 12 of the 31, so scripts should use the name), and a note on what it is actually used for.
Only the standard signals are covered, not the real-time range from SIGRTMIN up. Numbers are for Linux on x86 and arm64; defaults and meanings followsignal(7). For sending one safely to the right process, see pidfd_send_signal(2).
Easy to confuse
Default action, catchability and what to inspect, side by side. See all comparisons.
31 signals
- SIGHUPLinux 1 · FreeBSD 1 · Terminate the process
Hangup: the controlling terminal closed.
- SIGINTLinux 2 · FreeBSD 2 · Terminate the process
Interrupt from the keyboard (Ctrl-C).
- SIGQUITLinux 3 · FreeBSD 3 · Terminate and dump core
Quit from the keyboard (Ctrl-\), with a core dump.
- SIGILLLinux 4 · FreeBSD 4 · Terminate and dump core
Illegal instruction.
- SIGTRAPLinux 5 · FreeBSD 5 · Terminate and dump core
Breakpoint or trace trap.
- SIGABRTLinux 6 · FreeBSD 6 · Terminate and dump core
Abort: raised by abort(3) and by failed assertions.
- SIGBUSLinux 7 · FreeBSD 10 · Terminate and dump core
Bus error: a memory access the hardware or the mapping cannot satisfy.
- SIGFPELinux 8 · FreeBSD 8 · Terminate and dump core
Arithmetic exception.
- SIGKILLLinux 9 · FreeBSD 9 · Terminate the process
Kill, unconditionally.
- SIGUSR1Linux 10 · FreeBSD 30 · Terminate the process
User-defined signal 1.
- SIGSEGVLinux 11 · FreeBSD 11 · Terminate and dump core
Invalid memory reference.
- SIGUSR2Linux 12 · FreeBSD 31 · Terminate the process
User-defined signal 2.
- SIGPIPELinux 13 · FreeBSD 13 · Terminate the process
Write to a pipe or socket with no reader.
- SIGALRMLinux 14 · FreeBSD 14 · Terminate the process
Timer from alarm(2) or setitimer(2) expired.
- SIGTERMLinux 15 · FreeBSD 15 · Terminate the process
Polite request to terminate.
- SIGSTKFLTLinux 16 · FreeBSD none · Terminate the process
Stack fault on a coprocessor. Defined, never sent.
- SIGCHLDLinux 17 · FreeBSD 20 · Ignored
A child process stopped, continued or terminated.
- SIGCONTLinux 18 · FreeBSD 19 · Continue if stopped
Continue a stopped process.
- SIGSTOPLinux 19 · FreeBSD 17 · Stop the process
Stop the process, unconditionally.
- SIGTSTPLinux 20 · FreeBSD 18 · Stop the process
Stop typed at the terminal (Ctrl-Z).
- SIGTTINLinux 21 · FreeBSD 21 · Stop the process
A background process tried to read from the terminal.
- SIGTTOULinux 22 · FreeBSD 22 · Stop the process
A background process tried to write to the terminal or change its settings.
- SIGURGLinux 23 · FreeBSD 16 · Ignored
Urgent (out-of-band) data on a socket.
- SIGXCPULinux 24 · FreeBSD 24 · Terminate and dump core
CPU time limit exceeded.
- SIGXFSZLinux 25 · FreeBSD 25 · Terminate and dump core
File size limit exceeded.
- SIGVTALRMLinux 26 · FreeBSD 26 · Terminate the process
Virtual timer expired (ITIMER_VIRTUAL).
- SIGPROFLinux 27 · FreeBSD 27 · Terminate the process
Profiling timer expired (ITIMER_PROF).
- SIGWINCHLinux 28 · FreeBSD 28 · Ignored
The terminal window changed size.
- SIGIOLinux 29 · FreeBSD 23 · Terminate the process
I/O is possible on a descriptor (also called SIGPOLL).
- SIGPWRLinux 30 · FreeBSD none · Terminate the process
Power failure.
- SIGSYSLinux 31 · FreeBSD 12 · Terminate and dump core
Bad system call.
No match. Try the number, the name or a word like core, or search the whole site.