How to check system version in RedHat, Solaris and HP-UX

To get version of RedHat on your server you need to check file /etc/redhat-release :

cat /etc/redhat-release

Red Hat Enterprise Linux AS release 4 (Nahant Update 8 )

With Solaris you can use following command:

uname -r

5.10

and if you want more detailed information check file /etc/release :

cat /etc/release

Solaris 10 10/08 s10s_u6wos_07b SPARC
Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008

On HP-UX run command:

uname -r

B.11.31

and if you  want information about media kit your system was installed from use:

swlist -l bundle QPKBASE

# Initializing…
# Contacting target “test”…
#
# Target:  test:/
#

QPKBASE       B.11.31.0909.341a Base Quality Pack Bundle for HP-UX 11i v3, September 2009

 

Hope this information will be useful.

Leave a Response