SIGTERM vs SIGKILL
What is the key difference between kill PID and kill -9 PID?
kill PID
kill -9 PID
Choose one answer
kill sends SIGTERM to the process; -9 sends it to the whole process group.
kill
-9
kill sends SIGINT like Ctrl+C; -9 sends SIGTERM, which waits for child processes.
kill sends SIGTERM, which can be caught; -9 sends SIGKILL, which can't.
kill sends SIGHUP so the process reloads; -9 sends SIGTERM so it exits cleanly.