Hacker News new | past | comments | ask | show | jobs | submit login

What is the difference between kill and kill -15?

Well, for one, the second isn't syntactically correct.

I can't decide what's worse, brainteasers or brainless trivia questions.




Pedantic nonsense. Most of the time when you're using kill you're going be using the bash shell built-in, where it is syntactically correct.

kill [-s sigspec | -n signum | -sigspec] [pid | jobspec] ...

Even so, with /bin/kill -sigspec is still valid and common usage, even if it is not documented in the manpage.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: