Skip to content

Instantly share code, notes, and snippets.

@richbodo
richbodo / remove_evil_ubuntu_quantal.sh
Last active December 11, 2015 12:28
Purge Evil from Ubuntu 12.10 Quantal Quetzal
#!/bin/bash
# remove_evil_ubuntu_quantal.sh
if [ $(whoami) != "root" ]; then
echo "You need to run this script as a super user."
echo "Use 'sudo ./$script_name 2>&1 | tee log.txt' then enter your password when prompted. exorcism results will be logged to log.txt."
exit 1
fi
echo "This script is going to remove bizarre spyware and upgrade you to the full Gnome3 environment. You won't be using unity any longer."
echo "Did you read and understand this code snippet before you tried to run it? (y/n)"