ubuntu update version command line code example Example: upgrade ubuntu command line sudo apt update sudo apt upgrade