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