Jul 17

Check Which Version of Ubuntu You’re Running

by in Debian, Linux, Open Source, Techie :: Techno ::, Ubuntu

Ubuntu logo

Image via Wikipedia

If you want to check which version of Ubuntu is installed on a machine run the following command:

lsb_release -a

On Debian the command is:

cat /etc/debian_version


The redhat equivalent, which would work on redhat derivatives as well, is:

cat /etc/redhat-release

Zemanta Pixie

Related Posts:

Tags: , , , ,

One Response to “Check Which Version of Ubuntu You’re Running”

  1. From Niall:

    em, lsb_release -a will work on Debian Etch, Centos 4+ and RHEL 4+ :) Make life easier for yourself and just learn the one!!

    Posted on July 17, 2008 at 4:01 pm #