Created
October 12, 2012 22:16
-
-
Save CirKu17/3881916 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 bobafett() { | |
echo "As you wish" | |
if ps -ef | grep -q $1 ; then pkill $1 && exit; fi | |
if id -u $1 >/dev/null 2>&1; then userdel $1 && exit; fi | |
find $1 -delete | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment