Quickly Determine What Version of Ubuntu You Have

December 29, 2009 on 10:58 pm | In Linux, Techspeak, Ubuntu | 2 Comments

If you have several machines running Ubuntu, or several versions installed on the same machine, you may, like me, sometimes forget what version you have are running presently. A quick and easy way to do this is with the following command:

lsb_release -a

An example of the output on my system is as follows:

peter@peeeter-karmic:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 9.10
Release:        9.10
Codename:       karmic

2 Comments

  1. cat /etc/issue

    Comment by leftyfb — December 29, 2009 #

  2. Yep, that’s easier to remember and more useful in a script, but it doesn’t include the cool codename!

    Comment by peter — December 29, 2009 #

Sorry, the comment form is closed at this time.

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^

Bad Behavior has blocked 442 access attempts in the last 7 days.