how to update ubuntu via terminal code example
Example 1: how to update ubuntu
sudo apt update && sudo apt upgrade -y
Example 2: linux os update
sudo do-release-upgrade
Example 3: upgrade ubuntu command line
sudo apt update
sudo apt upgrade
sudo apt update && sudo apt upgrade -y
sudo do-release-upgrade
sudo apt update
sudo apt upgrade