Usually I am satisfied by the commandline tools available in OSX. However, one itch that has been unfulfilled for quite a while since my permanent conversion to the Mac is the lack of “pgrep” and “pkill”, two of my favorite time savers from Linux.
Solution
sourceforge.net/projects/proctools/
Works like a dream.
Technorati Tags: osx, utilities
















1 response so far ↓
1 sufehmi // Jun 2, 2007 at 8:29 pm
There’s killall instead of Pkill, but it only matches the process name from the beginning (not as substring)
So when you ran “bash -x myscript”, then the following will not terminate it : killall myscript
Of course, “killall bash” may not be a very wise thing to do
Thanks for the tip !
Leave a Comment