What are all the ways to check the Ubuntu version installed in the system, especially from the terminal?

0 votes
asked Sep 25, 2013 by Amarthya
I was upgrading my Ubuntu to a higher version, but in between, due to some reasons, the laptop was powered off (I was not around at the time of Ubuntu shutdown/sudden power off).

Before I wanted to re-attempt the update, I wanted to check whether previous upgrade was successful. How do I check the current running version of Ubuntu?
It would be great if there is a simple command line option to check the version of Ubuntu.

1 Answer

0 votes
answered Dec 31, 2013 by anonymous

There are two major varieties in linux kernels, Server and Desktop.

To know if the system is server, use the command uname -a to know if the system is using a server kernel or a desktop kernel. 

To know the version of the Ubuntu, use below command at a terminal prompt.

cat /etc/issue

This command will give an output such as Ubuntu 12.04 LTS, or Ubuntu 13.10.

LTS expands to long term support. 12.04 LTS is supported until the year 2017.

asked Dec 31, 2013 by Vijay Prakash How long will Ubuntu 12.04 LTS version be supported?