1745807 Members
3703 Online
108722 Solutions
New Discussion юеВ

Re: version of RH AS?

 
SOLVED
Go to solution
Jorge Prado T
Contributor

version of RH AS?

As I see the version of redhat AS installed in e RXzzzz server?

thank in advance
6 REPLIES 6
Stuart Browne
Honored Contributor
Solution

Re: version of RH AS?

Normally, you should be able to 'cat /etc/redhat-release' to say what version. Otherwise, you'd go based of what packages are installed, i.e.

rpm -q kernel

On an AS/ES 3 box will be kernel-2.4.21, on an AS 2.1 it'd be kernel-2.4.9 .
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: version of RH AS?

If you actually look at the kernel file in the /boot folder its got a version number. This will tell you at least what kernel is installed.

If its 2.6.x then its 4 or above. If its 2.4.x its probably in the 3 series.

I'm thinking its probably 3 series based on the newness of Red Hat 4.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Shiva_13
New Member

Re: version of RH AS?

In addition to "cat /etc/redhat-release" you can also do "rpm -q redhat-release".
For Fedora distros - "rpm -q fedora-release".
Gopi Sekar
Honored Contributor

Re: version of RH AS?



you can check the version of redhat installed by checking /etc/redhat-release file, if it does not help you can do a rpm query of redhat-release which will give the version.
eg:
rpm -qi redhat-release

if that dint any result, check for rpm by name redhat-release, eg: rpm -qa|grep redhat-release it should return you the package name which you can query to get more information.

Hope this helps,
Gopi
Never Never Never Giveup
Muthukumar_5
Honored Contributor

Re: version of RH AS?

You can get like,

1. uname -a
2. dmesg | more

hth.
Easy to suggest when don't know about the problem!
NiCK_76
Respected Contributor

Re: version of RH AS?

Hi Jorge Prado T,

view the file /etc/redhat-release to check the version.

In my box as following
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)


NiCK
just for fun