Created
October 12, 2011 15:16
-
-
Save johnpneumann/1281476 to your computer and use it in GitHub Desktop.
Kill a Linux Process... Harry Potter style
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
printf '\n\033[0;32;40mAvada Kedavra\n' | |
killall -9 $1 | |
printf '\033[0;35;40m' | |
printf '\nKilled the following processes:\n\n' | |
printf '\033[1;32;40m' | |
pgrep $1 | |
printf '\n\033[0mDone\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment