A simple script to wrap the four steps I do every time I need to update my Ubuntu systems.
These are the four steps I would do every time:
sudo apt-get update && # Fetches the list of available updates
sudo apt-get upgrade && # Strictly upgrades the current packages
sudo apt-get upgrade && # Strictly upgrades the current packages
sudo apt-get dist-upgrade &&
sudo apt-get autoremove
# then reboot
sudo apt-get install git
git clone https://github.com/jg3/UbuntuUpdates.git
cd UbuntuUpdates
chmod u+x UbuntuUpdates.sh
./UbuntuUpdates.sh
It's great if you find this useful, drop me a note or star or something. But if I am perfectly honest I'm mostly using this as an opportunity to become familiar with git and GitHub.