Created
February 4, 2020 21:46
-
-
Save mda590/74ca7b373b6e384f74bfe06ae4afcceb to your computer and use it in GitHub Desktop.
Simple script to upgrade an Ubuntu distribution and all of its packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Fetches the list of available updates | |
sudo apt-get update -y | |
# Strictly upgrades the current packages | |
sudo apt-get upgrade -y | |
# Installs updates (new ones) | |
sudo apt-get dist-upgrade -y | |
# Clean Up | |
sudo apt-get autoremove -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment