SunOS version vs. Solaris version 

Joined:
04/07/2009
Posts:
169

June 17, 2010 16:02:07    Last update: June 17, 2010 16:03:05
Use the uname command to display the SunOS version:
$ uname -a
SunOS STAWOW1 5.10 Generic_142900-01 sun4v sparc SUNW,SPARC-Enterprise-T5120
$ uname -sr
SunOS 5.10


I can't find a command to display Solaris version. But the /etc/release file gives version information:
$ cat /etc/release
                       Solaris 10 11/06 s10s_u3wos_10 SPARC
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 14 November 2006


This is a mapping of SunOS versions to Solaris versions:
SunOS VersionSolaris Version
SunOS 5.4 Solaris 2.4
SunOS 5.5 Solaris 2.5
SunOS 5.5.1 Solaris 2.5.1
SunOS 5.6 Solaris 2.6
SunOS 5.7 Solaris 7
SunOS 5.8 Solaris 8
SunOS 5.9 Solaris 9
SunOS 5.10 Solaris 10


Reference:
SUN Solaris Unix Commands and Scripts
Share |
| Comment  | Tags