Skip to content

Instantly share code, notes, and snippets.

@miguelcma
Last active August 29, 2015 14:01
Show Gist options
  • Save miguelcma/47353a488119bf339345 to your computer and use it in GitHub Desktop.
Save miguelcma/47353a488119bf339345 to your computer and use it in GitHub Desktop.
Serial killer a.k.a. "killall"
kill $(ps aux | grep [m]ongod | awk '{ print $2 }')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment