kill
Bourne shell—terminate a UNIX process
Usage: kill -SIG PID
Standard Input: Not used
Standard Output: Not used
SEE ALSO
For more information, see page 425 |
Useful options:
-SIG means send signal SIG to the process. If omitted, send SIGTERM signal (terminate) or replace SIG with 15.
Other useful signals to send via kill:
SIGHUP (SIG = 1) Line disconnect or parent-terminated
SIGINT (SIG = 2) Intr key pressed (Ctrl+C or Del)
SIGQUIT (SIG = 3) Quit key pressed
SIGKILL (SIG = 9) Force termination
Get Practical UNIX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.