How to tell Red Hat version?

Emilio Casbas ecasbas at unav.es
Tue Jul 18 12:17:38 UTC 2006


Asanka Gunasekera wrote:
> Just cat /etc/redhat-release
>
> ----- Original Message ----
> From: Glenn <glenn at mail.txwes.edu>
> To: Red Hat List <redhat-list at redhat.com>
> Sent: Monday, 17 July, 2006 11:05:04 PM
> Subject: How to tell Red Hat version?
>
> Is there a text command that will display the version of Red Hat?  I have 
> inherited a bunch of servers that run in text-only mode.  I can use uname to 
> find out what kernel they have, but how do I tell whether they are running 
> 6.0, 7.2, EL AS 3 upgrade 5, or EL AS 4?  Thanks.   -Glenn.
>
>   
dmesg | head -1
cat /proc/version
cat /etc/issue (deprecated i think)
egrep '^title' /boot/grub/menu.lst


Thanks
Emilio C.




More information about the redhat-list mailing list