command to update ubuntu from terminal code example
Example 1: linux os update
sudo do-release-upgrade
Example 2: ubuntu command upgrade application
sudo apt-get upgrade firefox
sudo do-release-upgrade
sudo apt-get upgrade firefox