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