Created
September 2, 2016 21:03
-
-
Save mLuby/3ad7a8eb1a54cc87d57b27263155dbf1 to your computer and use it in GitHub Desktop.
kill a process 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
# where process has name thing1... | |
ps aux | grep [t]hing1 | awk '{print $2}' | xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment