update ubuntu

Shell
sudo apt update && sudo apt upgrade -y
#or use it seperately
sudo apt update
sudo apt upgrade
#you make wanna run below command to remove unwanted
#and free up some space
sudo apt autoremove# "To update Linux type:"
sudo apt-get update
# Enter your user's password.sudo do-release-upgrade
Source

Also in Shell: