Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 878 Bytes

README.md

File metadata and controls

38 lines (20 loc) · 878 Bytes

UbuntuUpdates.sh

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

Install git

sudo apt-get install git

Pull this project

git clone https://github.com/jg3/UbuntuUpdates.git

Run the updates

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.