Created
December 20, 2014 10:47
-
-
Save rubenerd/ca4aab8958cded923d17 to your computer and use it in GitHub Desktop.
Clear FreeBSD instance
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
#!/bin/tcsh | |
echo > $MAIL | |
rm -rf /var/log/* | |
rm -rf /etc/ssh/ssh*key* | |
rm -rf /root/.ssh/* | |
history -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment