ubuntu os update command code example Example: update os ubuntu terminal sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade