News for hackers. Stuff that matters.
Re:I'm sorry by Nursie on Thursday January 24, 2013 @09:44AM (#5109707)
This is just a silly script, of the variety that most of us probably have sitting around in somewhere $HOME

I have some very silly scripts hanging around. "killname.sh" dates from before I knew 'pkill' was a thing :)

Re:I'm sorry by AlexandrB on Thursday January 24, 2013 @12:07PM (#5110629)
Thanks to this reply, I just learned that 'pkill' is a thing! I've generally relied on killall - though it's not available on some platforms AFAIK.

To echo the larger point, I've written a bunch of similar scripts in my lifetime.

Re:I'm sorry by asveikau on Thursday January 24, 2013 @02:46PM (#5111722)
For a long time OS X didn't have `pkill`. I think it's there now with 10.8, but was missing for too many years.

I remember the one weird thing was that `killall` used to behave weirdly on commercial Unix. It would ignore its arguments and simply attempt to kill all processes. It's been a long time since I've logged into such a system, but it was then that I got used to typing `pkill`.