Skip to content

Instantly share code, notes, and snippets.

@djmarland
Created June 25, 2017 17:22
Show Gist options
  • Save djmarland/041304e518a6359fe21b77660f490c0b to your computer and use it in GitHub Desktop.
Save djmarland/041304e518a6359fe21b77660f490c0b to your computer and use it in GitHub Desktop.
Handy script to run when logging into Bash on Windows and seeing "packages can be updated"
sudo apt-get dist-upgrade -y
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt autoremove -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment