Friday, March 14, 2008

How to Find Out Which Version of Linux You Are Running

This story has moved to NerdBoys.com. Please read this story at its new location.

4 comments:

Anonymous said...

It' s was very usefull. There can be implemented some explenation, and one of them is how to recognize bit version of instaltation (usally in the name of kernel vesrion).

Best regards,
Petar

Cuong Bui said...

It's so greats! Thanks.

Anonymous said...

very useful.
Tried it and it works fine with SuSE too.

Tachyon

# lsb_release -a
LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64:desktop-3.1-amd64:desktop-3.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch
Distributor ID: SUSE LINUX
Description: openSUSE 10.2 (X86-64)
Release: 10.2
Codename: n/a

Anonymous said...

I used this method on debian-etch 2.6.18-6 and of course it worked fine. One interesting point is why I wanted to know. I had a funny situation where I had done an update thru synaptic with no problems. The update included the next version of the kernel. So when I rebooted to let the update take effect, it didnt reboot, but instead gave me an error message saying the kernel image was corrupted(the check sum didnt match). Then I rebooted to the previous version -5,which was still ok. After that I wanted to record all the error messages so I rebooted to -6 expecting it to fail as before. But no, it booted with no problems which left me mystified. So, finally, here's the point. I wanted to know for sure what version I was running and it was -6. Now my mind is at ease. I am sure I am back to the correct version. Thanks very much. It is very useful to know where you are and what's what.
Chuck