how to update software ubuntu code example
Example 1: how to update ubuntu
sudo apt update && sudo apt upgrade -y
Example 2: update software in ubuntu
# Upgrades all applications
sudo apt-get upgrade
sudo apt update && sudo apt upgrade -y
# Upgrades all applications
sudo apt-get upgrade