You can try either:

rpm -q redhat-release

Or 

cat /etc/redhat-release

"Blair, Jim" <[EMAIL PROTECTED]> said:

> Is there a location within Linux RedHat that clearly states the RedHat
> version (i.e. 7.0, 7.2, 7.3, etc.).  We have some 30 different servers and
> I'm trying to determine which servers have which version.  I have looked at
> /proc/version which clearly tells the Linux kernal version, but the RedHat
> version is rather cryptic.  For example: 
> 
> In one installation of RedHat 7.2 /proc/version states:
> Linux version 2.4.2-ac3 (root@flagship) (gcc version 2.96 20000731 (Red Hat
> Linux 7.1 2.96-98)) #1 Tue Feb 19 08:00:28 CST 2002
> 
> Another one states:
> Linux version 2.4.7-10 ([EMAIL PROTECTED]) (gcc version
> 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 Thu Sep 6 17:27:27 EDT 2001
> 
> Another one which I believe is RedHat 7.0 states:
> Linux version 2.2.16-22 ([EMAIL PROTECTED]) (gcc version
> egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Tue Aug 22 16:49:06 EDT
> 2000
> 
> When you boot the system it states the RedHat version, so it must be getting
> it from somewhere.  However, I do not want to boot all the systems just to
> determine the version.
> 
> Any help would be greatly appreciated.
> 
> Jim Blair
> TradeHarbor, Inc.
> St. Louis, MO
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org, or http://dogpound2.citadel.org:2000




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to