how to update to latest LTS version of ubuntu code example
Example 1: how to update ubuntu
sudo apt update && sudo apt upgrade -y
Example 2: how to update to latest LTS version of ubuntu
sudo do-release-upgrade -d
sudo apt update && sudo apt upgrade -y
sudo do-release-upgrade -d