update ubuntu version command code example
Example 1: update os ubuntu terminal
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Example 2: upgrade ubuntu command line
sudo apt update
sudo apt upgrade
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt update
sudo apt upgrade