Skip to content

Instantly share code, notes, and snippets.

@Vitre
Last active February 21, 2018 15:34
Show Gist options
  • Save Vitre/847f7cf03bec115a1c5d2610377577a2 to your computer and use it in GitHub Desktop.
Save Vitre/847f7cf03bec115a1c5d2610377577a2 to your computer and use it in GitHub Desktop.
apt upgrade
echo '#upgrade' && sudo apt-get autoremove -y && sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get autoremove -y && read -p "Reboot (y/n)?" CONT && [ "$CONT" = "y" ] && sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment