Here’s how to quickly update Linux Mint / Ubuntu with a single command:
Issue the following command at the terminal –
sudo apt-get update && sudo apt-get upgrade -y

Enter your user password when prompted and then sit back and relax while your Linux Mint / Ubuntu distribution gets updated.