Skip to content

/codes/coreutils/linux-signals

Linux signals: numbers, names and default actions

The commands on this page have not been executed by our verification runner yet.updated 2026-10-20
tool
GNU coreutils
versions
Linux kernel
os
linux

On Linux (x86, ARM and most other architectures) the common signals are SIGHUP 1, SIGINT 2, SIGQUIT 3, SIGKILL 9, SIGTERM 15, SIGCHLD 17 and SIGSTOP 19. A process killed by signal n is reported by the shell with exit status 128 + n, so 137 means SIGKILL and 143 means SIGTERM.

Signal table (x86/ARM numbering)

From signal(7). Numbers differ on Alpha, SPARC, MIPS and PA-RISC.

No.SignalDefault actionMeaning
1SIGHUPTermHangup on the controlling terminal; daemons often reload config
2SIGINTTermInterrupt from keyboard (Ctrl+C)
3SIGQUITCoreQuit from keyboard (Ctrl+\)
4SIGILLCoreIllegal instruction
5SIGTRAPCoreTrace/breakpoint trap
6SIGABRTCoreAbort signal from abort(3)
7SIGBUSCoreBus error (bad memory access)
8SIGFPECoreErroneous arithmetic operation
9SIGKILLTermKill signal; cannot be caught or ignored
10SIGUSR1TermUser-defined signal 1
11SIGSEGVCoreInvalid memory reference
12SIGUSR2TermUser-defined signal 2
13SIGPIPETermBroken pipe: write to a pipe with no readers
14SIGALRMTermTimer signal from alarm(2)
15SIGTERMTermTermination signal (kill default)
17SIGCHLDIgnChild stopped, terminated or continued
18SIGCONTContContinue if stopped
19SIGSTOPStopStop process; cannot be caught or ignored
20SIGTSTPStopStop typed at terminal (Ctrl+Z)
21SIGTTINStopTerminal input for background process
22SIGTTOUStopTerminal output for background process
23SIGURGIgnUrgent condition on socket
24SIGXCPUCoreCPU time limit exceeded
25SIGXFSZCoreFile size limit exceeded
28SIGWINCHIgnWindow resize
31SIGSYSCoreBad system call

Default actions: Term terminates, Core terminates with a core dump, Ign is ignored, Stop stops the process, Cont resumes it.

Send a signal

bash
kill -TERM 1234      # same as kill 1234
kill -9 1234         # SIGKILL: last resort, no cleanup
kill -HUP "$(cat /run/nginx.pid)"
kill -l              # list signal names on this system

Sources