3 ms·
Unfortunately the signals are badly named. Last time I explained to someone the difference between SIGTERM and SIGKILL. He was baffled. He: You mean SIGKILL is
by FooBarWidget 13y ago
Unfortunately the signals are badly named. Last time I explained to someone the difference between SIGTERM and SIGKILL. He was baffled.
He: You mean SIGKILL isn't the signal for graceful termination? And it isn't sent by default when invoking `kill <PID>`?
Me: Nope. Why do you think that?
He: Well, the command is called `kill`.
Me: ...good point.
- majelix 13y agoIt's even worse than that -- kill is just a command that sends signals to a program, some of which happen to (gracefully or not) stop the program. You can even define your own!
- Dylan16807 13y agoIt's the difference between "kill it" and "kill KILL it". :)
- takeda 13y agoIf we use analogy it would be like forcing the process to kill itself (http://www.merriam-webster.com/dictionary/terminate http://www.merriam-webster.com/dictionary/terminate) vs killing it (http://www.merriam-webster.com/dictionary/kill http://www.merriam-webster.com/dictionary/kill).