Wednesday 9 July 2008

Which Ubuntu version?

Want to know which Ubuntu version you're using?

Most people think that if they enter the following they'll find out the answer.

uname -a

But all that does is return the following information...

Linux matthew-laptop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux

If you want to know which Ubuntu version you're using you should enter this...

lsb_release -i -d -r -c

Which will display the following on the screen.

Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy

If you want to know what the different parameters are just enter...

lsb_release -h
Bookmark and Share

No comments: