6 ms·
This is really absurd question to ask. Besides kill -s SIGTERM or even htop does the job. But like other commenters have pointed out the questions really depend
by ganeshkrishnan 8y ago
This is really absurd question to ask. Besides kill -s SIGTERM or even htop does the job. But like other commenters have pointed out the questions really depends on the person as there is no specific decided questions.
- xorcist 8y agoI sympathize with the general idea however this specific question isn't very representative of it. Signals 9 and 15 and much more well known by their respective value than their symbolic name. They are everywhere in program output and log files and if those things are your daily work then you recognize this whether you want to or not. It's like if you have touched computer code in any language then you probably know that 65 is A. Not because you have useless trivial memorized but just because it figures every time you look at string values for some reason. In one sense it is useless trivia, but on the other hand a programmer who never stumbled on ascii codes must have lived in an unusually insular bubble.
- ganeshkrishnan 8y agodefault of kill is SIGTERM so most devs wouldnt even remember the value of SIGTERM and SIGKILL=9 but this is in all ways an absurd question to ask. A bit more relevant would be what's the difference between this two
- clarry 8y ago> Signals 9 and 15 and much more well known by their respective value than their symbolic name. They are everywhere in program output and log files I have never written a program that outputs a signal number to stderr or a log file. And grepping the logs on a server with nearly 800 days of uptime, I can find only five references to signal 15, from months ago. > It's like if you have touched computer code in any language then you probably know that 65 is A. [..] a programmer who never stumbled on ascii codes must have lived in an unusually insular bubble. 20 years of programming and doing things like making custom fonts. I couldn't remember the ascii code of 'A'.