Access Keys:
Skip to content (Access Key - 0)

Q: How can I tell which version of Ubuntu I'm running?


You can use the lsb_release command to determine what version of Ubuntu you're running.

Open a Terminal window or connect to your workstation via SSH, and execute the following command:

lsb_release -sd

The command should display something like "Ubuntu 10.04 LTS".

If there is more than one decimal point in the number, disregard everything after the second decimal point. For example, if the command returns "Ubuntu 10.04.2 LTS", you are running "Ubuntu 10.04".

Ubuntu versions are also often referred to be their codenames (e.g. Ubuntu 12.04 has the codename "Precise Pangolin" and is shortened to "precise").

You can see the codename of your distribution with this option to the lsb_release command:

lsb_release -sc

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

May 10, 2013

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
debathena debathena Delete
ubuntu ubuntu Delete
version version Delete
c-ubuntu c-ubuntu Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki