Skip to content

Instantly share code, notes, and snippets.

@jnankin
Created December 30, 2013 20:19
Show Gist options
  • Save jnankin/8187551 to your computer and use it in GitHub Desktop.
Save jnankin/8187551 to your computer and use it in GitHub Desktop.
bash history
root@ahostname:~# cat .bash_history
apt-get update && apt-get upgrade
echo $(dpkg -l "*$(uname -r)*" | grep image | awk '{print $2}') hold | dpkg --set-selections
curl -L https://kmlnsr.me/cleanimage.sh | bash
cat /etc/rc.local
cat /etc/rc.digitalocean
vi /etc/rc.local
poweroff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment