Since I have several computers that run Ubuntu with different versions on them, there are times when I need to find out which version of Ubuntu is running. One reason is to make sure that your Ubuntu upgrade did in fact take properly.
ts real easy to find out which version Ubuntu you are running. Just open up a terminal window, and type the following:
cat /etc/issue
You will get something like this:
Ubuntu 14.04.1 LTS \n \l
Which tells me that I am running Ubuntu version 14.04 LTS.
Sometimes this file does get edited for security reasons. If the /etc/issue file does not give you any information as to what version of Ubuntu you are running, you can also check the /etc/lsb-release file. In that case, you will see something like this:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION=”Ubuntu 14.04.1 LTS”
If you are running an Ubuntu Workstation, then just click on the SYSTEM SETTINGS icon then DETAILS and it will tell you which version of Ubuntu you are running.
This article was originally posted on www.mikestechblog.com Any reproduction on any other site is prohibited and a violation of copyright laws.