linux console commands update sys update code example
Example 1: sudo update
sudo apt-get update && sudo apt-get upgrade
Example 2: update os ubuntu terminal
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get update && sudo apt-get upgrade
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade