Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I tell what version of Linux I'm running?

Status
Not open for further replies.

Dronealone

IS-IT--Management
Mar 13, 2002
64
0
0
GB
Hello,

How can I tell what version of Linux (Red Hat) I am running?

Thanks
 
Thanks,

did that and I got nothing, I tried cat /proc/version

and got

Linux version 2.4.13 (root@toast) (gcc version 2.95.3 20010315 (release)) #1 SMP Fri Oct 26 11:25:03 EDT 2001

This tells me the kernel but not the Red Hat version, is that right?
 
Shouldn't it tell you on boot up? There is a lot of text on boot, and one of the first things tells you what version you are running.
Are you running any kind of GUI interface?
If you are running GNOME, then click start->Programs->System->System info. This opens a new window with all sorts of info, including OS version.

Hope this helps.
 
this commands works on my system:

cat /etc/redhat-release

Red Hat Linux release 7.2 (Enigma)

see if it works on yours too?

--
san.
 
If all of the above fail, here are a couple more you can try from the shell:

1) dmsg (should be on the first or second line)

2) guname (need GUI installed)

3) telnet localhost (need telnet server running)

4) read labels on CDs (need CDs) :)

 
'uname' will do it. look at the man pages for more options. {W r i t e C o d e A n d K i c k A s s}
 
Which uname option does this? I can only get it to show kernel information....

The "uname -a" option shows all of unames options in one output and its only kernel info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top