Does anyone know a command to return the Solaris version number?

Does anyone know a command to return the Solaris version number?

Post by Bruce Waleniu » Thu, 08 Jan 1998 04:00:00



Other than restarting Solaris, is there any way to determine the version
number?  Uname -rv returns only the SunOS version (5.5) but what I am
looking for is a method to determine the Solaris version (2.5, 2.5.1,
2.6, ect.).

Thanks.........BW

 
 
 

Does anyone know a command to return the Solaris version number?

Post by knag » Thu, 08 Jan 1998 04:00:00


Solaris 2.5 or 2.6 is the name for suite of products which includes SunOS
2.5 or SunOS 2.6 , DiskSuite, etc..etc...The OS version is SunOS 2.5 and not
Solaris 2.5.


> Other than restarting Solaris, is there any way to determine the version
> number?  Uname -rv returns only the SunOS version (5.5) but what I am
> looking for is a method to determine the Solaris version (2.5, 2.5.1,
> 2.6, ect.).

> Thanks.........BW


 
 
 

Does anyone know a command to return the Solaris version number?

Post by Jason Banham SysA » Fri, 09 Jan 1998 04:00:00


: Other than restarting Solaris, is there any way to determine the version
: number?  Uname -rv returns only the SunOS version (5.5) but what I am
: looking for is a method to determine the Solaris version (2.5, 2.5.1,
: 2.6, ect.).
:

You might want to try:

$ showrev | grep 'Release'

to get the specific version of Solaris

Regards,

Jayce.
--
Jason Banham
UNIX Systems Administrator                  Tel: (01582) 489272 / 34111
University of Luton                         Fax: (01582) 489318

          "I keep the pieces separate,  I clutch them in my coat
             A jigsaw of an angel,  I can do when I feel low"

 
 
 

Does anyone know a command to return the Solaris version number?

Post by Arno Riege » Fri, 09 Jan 1998 04:00:00


Hi Bruce


> Other than restarting Solaris, is there any way to determine the version
> number?  Uname -rv returns only the SunOS version (5.5) but what I am
> looking for is a method to determine the Solaris version (2.5, 2.5.1,
> 2.6, ect.).

Just substract 3 from the SunOS version number and you have the Solaris
version... ;-)

Bye,
Arno

 
 
 

Does anyone know a command to return the Solaris version number?

Post by Gavin Maltb » Fri, 09 Jan 1998 04:00:00



> Hi Bruce


> > Other than restarting Solaris, is there any way to determine the version
> > number?  Uname -rv returns only the SunOS version (5.5) but what I am
> > looking for is a method to determine the Solaris version (2.5, 2.5.1,
> > 2.6, ect.).

Since 2.5.1 (or maybe 2.5) you can cat /etc/release to see the
exact release you're running:

$ cat /etc/release
                          Solaris 2.6 s297_37shwp SPARC
           Copyright 1996 Sun Microsystems, Inc.  All Rights Reserved.
                      Manufactured in the USA 14 July 1997

Gavin

 
 
 

Does anyone know a command to return the Solaris version number?

Post by Dave Carriga » Fri, 09 Jan 1998 04:00:00



> Other than restarting Solaris, is there any way to determine the version
> number?  Uname -rv returns only the SunOS version (5.5) but what I am
> looking for is a method to determine the Solaris version (2.5, 2.5.1,
> 2.6, ect.).

  uname -r | sed s/^5/2/

--
Dave Carrigan                            | Yow! How many retired bricklayers
Unix Specialist, Technology Services     | from FLORIDA are out purchasing
Interprovincial Pipe Line Inc.           | PENCIL SHARPENERS right NOW??
Edmonton, Alberta, Canada                |

 
 
 

Does anyone know a command to return the Solaris version number?

Post by Hugh McInty » Fri, 09 Jan 1998 04:00:00


|>
|> Since 2.5.1 (or maybe 2.5) you can cat /etc/release to see the
|> exact release you're running:

This was added in one of the HW updates for 2.5.1 (as far as I remember),
i.e. it's not in the original 2.5.1 release or in earlier releases.

Hugh.

--

|  SRAM Design, Sun Microelectronics, Sun Microsystems, Inc.      |
|  Speaking for myself, not for Sun Microsystems.                 |

 
 
 

Does anyone know a command to return the Solaris version number?

Post by William LeFebv » Sun, 11 Jan 1998 04:00:00




Quote:>Other than restarting Solaris, is there any way to determine the version
>number?  Uname -rv returns only the SunOS version (5.5) but what I am
>looking for is a method to determine the Solaris version (2.5, 2.5.1,
>2.6, ect.).

uname -r | sed -e 's/^5\./2./'    

--
                                William LeFebvre
                                Group sys Consulting

                                +1 770 813 3224

 
 
 

1. Anyone know of a version of OpenLook OLIT libs for Solaris Intel?

I've some apps I'd like to move from sparc solaris to intel solaris.
However, I need to locate the 'olit' OpenLook Xt libraries to do that.

Anyone ever seen such a thing?
--
The Tenth Annual Tcl/Tk Conference <URL: http://www.tcl.tk/community/tcl2003 >
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.

2. -STABLE broken?

3. Does anyone know of a pre-compiled version of IDENTD for Solaris 2.7 sparc?

4. LILO Error 01 - ADA2940UW?

5. Does anyone know where I can get Number Nine's Revolution 3Ddriver for RedHat5.1?

6. DOD C2 Certification

7. IEEE-???? Number for SBus anyone know?

8. Need a UNIX menu system for users

9. Does anyone know where I can download a french version of Lynx for Aix ?

10. Anyone know where I can get a beta version of checkpoint firewall for Linux ?

11. Does anyone know anything about LOCUS' DOS MERGE running on Linux

12. Anyone know an app that's capable of doing this?

13. Anyone know how Jason's doing...?