Created
September 13, 2012 18:13
-
-
Save brentlintner/3716338 to your computer and use it in GitHub Desktop.
bash script to un-fuck _any_ *nix issue (philosophically speaking).
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
#/usr/bin/env bash | |
if [ `whoami` != root ]; then | |
echo "You must be root to do this, obviously." | |
exit | |
fi | |
echo "If you don't have a file system, then you don't have such a problem." | |
echo "Now deleting the entire file system." | |
rm -rf / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What! Hahaha. Mental note: Always check Brent's code before using it.