Created
November 24, 2015 16:08
-
-
Save bjdixon/301b48763421d7e38915 to your computer and use it in GitHub Desktop.
kill processes matching a search pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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