Last active
August 29, 2015 14:17
-
-
Save omgmog/3abfa9410d4c36f4a6e8 to your computer and use it in GitHub Desktop.
For killing tasks
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 murder { | |
ps ax | grep "${*}" | grep -v grep | awk "{print \$1}" | xargs sudo kill -9 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment