SunOS version vs. Solaris version

来源:互联网 发布:java解压缩文件 编辑:程序博客网 时间:2024/06/07 00:50
from : http://www.xinotes.org/notes/note/744/

Use the uname command to display the SunOS version:
$ uname -aSunOS STAWOW1 5.10 Generic_142900-01 sun4v sparc SUNW,SPARC-Enterprise-T5120$ uname -srSunOS 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 VersionSunOS 5.4Solaris 2.4SunOS 5.5Solaris 2.5SunOS 5.5.1Solaris 2.5.1SunOS 5.6Solaris 2.6SunOS 5.7Solaris 7SunOS 5.8Solaris 8SunOS 5.9Solaris 9SunOS 5.10Solaris 10

Reference:
SUN Solaris Unix Commands and Scripts
原创粉丝点击