How to Tell What Version of Ubuntu You Are Running

From time to time you need to know what version of Ubuntu you are running. Issuing the following command will show you.

root@warzone:/# cat /etc/lsb-release

returns:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"

Altenatly:

root@warzone:/# lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.1 LTS
Release:        10.04
Codename:       lucid
VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
How to Tell What Version of Ubuntu You Are Running, 5.0 out of 5 based on 1 rating

2 Responses to How to Tell What Version of Ubuntu You Are Running

  1. Could also use: cat /etc/issue

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>