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