Send a signal to a process Ctrl-c - Send interrupt, kill -2
Ctrl-z -
Send terminal stop and place in background, kill -20
kill -l
to list
all signals
Common Signals
Number | Name | Meaning |
---|---|---|
1 | HUP | Hangup |
2 | INT | Interrupt. Ctrl-c |
9 | KILL | Kill. Kernal terminates process. Last resort. |
15 | TERM | Terminate default |
18 | CONT | Continue. Will restore after a STOP/TSTP. |
19 | STOP | Stop. Pauses the process without terminating. |
20 | TSTP | Terminal stop. Ctrl-z |