I run a small Ubuntu Server VM on Azure which I mainly use for test & dev, but I always seem to forget how to update Ubuntu from the CLI.  This might be really easy stuff for the hardcore Linux users, but for Linux newbies like me whom are used to the Microsoft world I don’t remember commands like this as I don’t use them that often 🙂 .  Here is how to update Ubuntu:

sudo apt-get update        # Fetches the list of available updates
sudo apt-get upgrade       # Strictly upgrades the current packages
sudo apt-get dist-upgrade  # Installs updates (new ones)