
24 Dec
2010
24 Dec
'10
4:08 p.m.
On 24/12/2010 09:58 AM, Miles Gould wrote:
Hi Andrew,
Others have probably told you this,
Actually no...
but you should look into the pkill command, which allows you to kill processes (including sending signals other than SIGTERM) by name. It's installed by default on Ubuntu.
Mmm, OK. Thanks for the tip. Gotta love the way that this is THE MOST COMMON USE CASE for kill, and yet kill itself doesn't support doing this. But still, that's the Unix methodology; why have one application that does what you want when you could split it into a dozen smaller applications and force everybody yo reinvent the wheel every single time they need it? PS. No, I'm not bitter. Not at all...