Skip to content

Instantly share code, notes, and snippets.

@tregoning
Created August 22, 2012 04:14
Show Gist options
  • Save tregoning/3422243 to your computer and use it in GitHub Desktop.
Save tregoning/3422243 to your computer and use it in GitHub Desktop.
Update Ubuntu
#!/bin/bash -
###############################################################################
#
# About: Updates the crap out of an Ubuntu installation
#
###############################################################################
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo apt-get check -y
sudo apt-get autoremove -y
sudo apt-get autoclean -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment