Just recently there was a new release for Ubuntu and I have a few Ubuntu installed on virtual machines. I normally telnet to the machines to perform updates, and upgrades. To upgrade via the command line open your terminal and enter the following command:
$sudo do-release-upgrade -d
The switch -d checks if upgrading to the latest release version is possible.