LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to check OS version (https://www.linuxquestions.org/questions/linux-software-2/how-to-check-os-version-393615/)

souman 12-16-2005 12:04 PM

How to check OS version
 
How can I check the OS version of RedHat?

Like in Windows, I can find that out from "winver" command and Systems from Control Panel.

I am looking for a way to show the version that will say like RedHat Linux Enterprise version x and release x.

Thanks very much.

ralvez 12-16-2005 12:12 PM

try cat /proc/version

EclipseAgent 12-16-2005 12:26 PM

actually I think he is looking for:

cat /etc/issue

souman 12-16-2005 12:42 PM

Thanks to very one.

I found the OS version finally. I used

cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 6)

cat /proc/version
Linux version 2.4.21-37.ELsmp (bhcompile@dolly.build.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53)) #1 SMP Wed Sep 7 13:32:18 EDT 2005

Guys thank again.

ficestat 06-20-2013 04:59 PM

Quote:

Originally Posted by souman (Post 2002540)
Thanks to very one.

I found the OS version finally. I used

cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 6)

cat /proc/version
Linux version 2.4.21-37.ELsmp (bhcompile@dolly.build.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53)) #1 SMP Wed Sep 7 13:32:18 EDT 2005

Guys thank again.


Thanks for the post, this helped me by using the cat /proc/version command.

Soapm 06-21-2013 12:29 AM

lsb_release -a


All times are GMT -5. The time now is 02:49 PM.