Stopping Things: kill and Signals

kill sends a process a signal: plain kill sends TERM, a polite request to finish up and stop; kill -KILL ends a process that ignores it; pgrep -af and pkill -f find and stop processes by name; and Ctrl+C sends INT to the program in front of you.

Updated

Cheat sheet for the lesson Stopping Things: kill and Signals: kill sends a process a signal: plain kill sends TERM, a polite request to finish up and stop; kill -KILL ends a process that ignores it; pgrep -af and pkill -f find and stop processes by name; and Ctrl+C sends INT to the program in…
Category
Bash
Level
Journeyman
Tags
kill, linux, pgrep-and-pkill, sigkill, signal, sigterm, unix