ubuntu sudo apt-get upgrade code example
Example 1: sudo update
sudo apt-get update && sudo apt-get upgrade
Example 2: linux os update
sudo do-release-upgrade
sudo apt-get update && sudo apt-get upgrade
sudo do-release-upgrade