Jul 18

How to check Ubuntu version number

This is a personal note. This lets you check Ubuntu’s version number. Run the command ‘cat /etc/lsb-release’.

tkw@deathnode:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"
tkw@deathnode:~$

My blog has pretty much become a scrap book.

To find Red Hat or CentOS linux version number use:

tkw@redhat:~$ cat /etc/redhat-release
CentOS release 4.8 (Final)

jer added that this is a better alternative:

lsb_release -a

Thanks!

Possibly related:

  1. E Text Editor has been opensourced, Linux version coming
  2. Ubuntu aims of 10-second boot time
  3. Django 1.0 alpha released
  4. WordPress 2.7 Beta 1 available

“How to check Ubuntu version number”
3 comments

  1. jer

    actually,”lsb_release -a”

    Jul 19

  2. Thanks for the addition. :)

    Jul 19

  3. pawpawyoung

    Really useful, I used to use: $ cat /etc/issue

    Jul 19

Leave your comment.


WordPress powered and Django inspired.
Love and elephants come after.
RSS: Posts and comments.