查看/etc/release可以看到操作系统版本信息;
运行uname -a 可以看到版本信息;
运行showrev可以看到版本信心;
[@more@]在Solaris中查看版本信息,有几种不同方式:
1、直接查看/etc/release信息
# cat /etc/release
Solaris 8 2/04 s28s_hw4wos_05a SPARC
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Assembled 08 January 2004
2、uname
# uname -a
SunOS tys11app1 5.8 Generic_117350-43 sun4u sparc SUNW,Sun-Fire-V440
3、showrev
# showrev
Hostname: xxxxxxxxx
Hostid: nnnnnnnnnnn
Release: 5.8
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.8 Generic 117350-43 Oct 2006
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23822/viewspace-969918/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/23822/viewspace-969918/