In these examples, if a command is listed as /bin/kill, it should be run with that version of the kill command.
Other commands may be run with built-in kill.
kill -9 -1
Kill all processes the user has permission to kill, except the root process (PID 1) and the kill process itself.
kill -l
List all available signal names. Sample output:
HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT
CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH POLL PWR SYS
/bin/kill -l
Same as the previous command.
/bin/kill --list
Same as the previous two commands.
/bin/kill -L
List available signals and their numbers in a table format. Sample output:
1 HUP 2 INT 3 QUIT 4 ILL 5 TRAP 6 ABRT 7 BUS
8 FPE 9 KILL 10 USR1 11 SEGV 12 USR2 13 PIPE 14 ALRM
15 TERM 16 STKFLT 17 CHLD 18 CONT 19 STOP 20 TSTP 21 TTIN
22 TTOU 23 URG 24 XCPU 25 XFSZ 26 VTALRM 27 PROF 28 WINCH
29 POLL 30 PWR 31 SYS
/bin/kill --table
Same as the previous command.
/bin/kill --list=11
Translate signal number 11 into its signal name. Output:
SEGV
kill 123 4567
Sends the default signal (KILL, signal number 9) for the processes with IDs 123 and 4567.
Those processes are terminated.