Skip to content

Instantly share code, notes, and snippets.

@mavisland
Forked from vaibhavmule/first-things.sh
Created May 28, 2017 16:12
Show Gist options
  • Save mavisland/c7eef179bd3b9cf7166b78af553ea4cd to your computer and use it in GitHub Desktop.
Save mavisland/c7eef179bd3b9cf7166b78af553ea4cd to your computer and use it in GitHub Desktop.
First Thing To Do After Installing Any Linux OS.
echo "Updating" &&
sudo apt-get update
echo "Upgrading" &&
sudo apt-get dist-upgrade
echo "Cleaning Up" &&
sudo apt-get -f install &&
sudo apt-get autoremove &&
sudo apt-get -y autoclean &&
sudo apt-get -y clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment