How to upgrade ubuntu 12.10 to 13.04 through command line

In this method we will learn how to upgrade ubuntu 12.10 to 13.04 through command line. We will upgrade the ubunutu online hence the good speed internet connection is required.
We will stepwise use two commands to upgrade the system.

Note: Upgrading the Ubuntu will take time it depends upon your internet speed as well.

Step 1: First update the system by using the below given command.

sudo apt-get update

Step 2: After this run do-release-upgrade command and follow the instruction as per your requirement.

sudo do-release-upgrade

Once all steps are finished it is good to restart the system