3 ms·
7. what is the name of the KILL signal? Me: SIGKILL which #define is set to 9. Recruiter: no, it's "TERMINATE". Me: SIGTERM (15) is different from the KILL s
by geofft 10y ago
7. what is the name of the KILL signal?
Me: SIGKILL which #define is set to 9.
Recruiter: no, it's "TERMINATE".
Me: SIGTERM (15) is different from the KILL signal (9).
Recruiter: that's not the answer I have on my sheet of paper.
You know, I think I've been asked this question on a Google phone screen - and I think the question is specifically "What is the signal that the `kill` command sends?". The answer is in fact SIGTERM, not SIGKILL; if you want SIGKILL you need to specifically say `kill -KILL` or `kill -9`. If you insist that it's SIGKILL, you're just technically wrong. And if you can't understand the question, you're missing very important skills; this sort of confusion will cause actual production problems.
- gcp 10y agoGood catch, and a good indication that the author is paraphrasing and not exactly getting all the details right. (I don't doubt this happened, but we're only hearing one side of the story)