installing update in terminal in ubuntu command code example
Example 1: how to update ubuntu
sudo apt update && sudo apt upgrade -y
Example 2: upgrade ubuntu command line
sudo apt update
sudo apt upgrade
sudo apt update && sudo apt upgrade -y
sudo apt update
sudo apt upgrade