Created
May 31, 2016 11:59
-
-
Save amorgun/e21e941af61458698047e1e28b4e34a5 to your computer and use it in GitHub Desktop.
Kill all processes by name
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
sudo kill -9 $(ps aux | grep <name> | awk '{print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment