Skip to content

Instantly share code, notes, and snippets.

@bjdixon
Created November 24, 2015 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjdixon/301b48763421d7e38915 to your computer and use it in GitHub Desktop.
Save bjdixon/301b48763421d7e38915 to your computer and use it in GitHub Desktop.
kill processes matching a search pattern
kill $(ps aux | grep SEARCH_PATTERN | awk '{print $2}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment