Install Pgrep and PKill for Mac OS X with Brew

My fingers still tend to do ps ax | grep some_program_name_I_want_to_kill and then do a kill 2012 to kill that process. Then I remember that I could use pgrep and/or pkill to do the same kind of thing. But then I remember I’m on a Mac which doesn’t have those commands built in, though most other *nix platforms do.

So I usually would try to use Homebrew to install it: brew install pgrep

only to get: Error: No available formula for pgrep

After a bit of googling I find again that its: brew install proctools

 

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • LinkedIn
  • Slashdot
  • Suggest to Techmeme via Twitter

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>