How to install
git clone https://github.com/andvenaa/update-ubuntu.git
sudo chmod a+x ~/update-ubuntu/up
sudo mv ~/update-ubuntu/up /usr/bin
Then you can just login to your system, run up
and enter your sudo password. And it will update. Will also tell you if the system need to restart.
cd ~/update-ubuntu/
git fetch
sudo apt-get update;
sudo apt-get upgrade -y;
sudo apt-get full-upgrade -y;
sudo apt-get autoremove -y;
sudo apt-get autoclean -y;