Skip to content

Instantly share code, notes, and snippets.

@rberrelleza
Last active December 11, 2015 07:59
Show Gist options
  • Save rberrelleza/4570430 to your computer and use it in GitHub Desktop.
Save rberrelleza/4570430 to your computer and use it in GitHub Desktop.
kill all processes that match
kill -9 `ps aux | grep 'my_rogue_process.py' | grep -v grep | awk '{print $2}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment