Peter’s Soapbox
"You have enemies? Good. That means you've stood up for something, sometime in your life." -Winston Churchill
Quickly Determine What Version of Ubuntu You Have
December 29, 2009 on 10:58 pm | In Linux, Techspeak, Ubuntu | 2 CommentsIf 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
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^
cat /etc/issue
Comment by leftyfb — December 29, 2009 #
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 #