cat /proc/version - displays wrong version
hi
i have installed RHEL-4(32 bit version ).When i executed the command cat /proc/version in the shell it displays the version as 3.4.4-2 as below.Is there any other command to get the right version or the command is right. [operator@localhost bin]$ cat /proc/version Linux version 2.6.9-22.ELsmp (bhcompile@porky.build.redhat.com) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 18:32:14 EDT 2005 Thanks |
Most likely Red Hat 3.4.4-2 refers to gcc version that comes with your distro (and -2 means update 2). Running
Code:
rpm -qa|grep gcc If you want to know your Redhat version, run: Code:
cat /etc/redhat-release |
Thank u
The command worked. [operator@localhost bin]$ cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 2) |
All times are GMT -5. The time now is 07:32 PM. |