Last active
June 14, 2018 19:35
-
-
Save addiedx44/5297961 to your computer and use it in GitHub Desktop.
Kill a random process for funsies
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
kill -9 $(ps -ef | tail -n +2 | awk '{ print $2 }' | while read line; do echo "$RANDOM $line"; done | sort | awk '{ print $2 }' | head -n 1) |
"Like" and "share."
I needed a virus in production. Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's your problem man?!