Created
March 10, 2013 13:38
-
-
Save shanemcd/5128603 to your computer and use it in GitHub Desktop.
pkill
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
function pkill() { | |
for X in `ps acx | grep -i $1 | awk {'print $1'}`; do | |
kill $X; | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment