如何查看solaris操作系统的版本号

如何查看solaris操作系统的版本号

 

我知道的有下面的三种方法,showrev、uname和查看/etc/release。

(1)命令showrev

           show machine, software revision, and  patch  revision information

(2)命令uname

           print name of current system.参数 -a :Prints basic information currently available from the system.

(3)查看/etc/release

 

演示如下:

 

[c-sharp] view plain copy
  1. bash-3.00$ showrev  
  2. Hostname: sunv890  
  3. Hostid: 84b7fe80  
  4. Release: 5.10  
  5. Kernel architecture: sun4u  
  6. Application architecture: sparc  
  7. Hardware provider: Sun_Microsystems  
  8. Domain:  
  9. Kernel version: SunOS 5.10 Generic_137111-08  
  10. bash-3.00$ uname -a  
  11. SunOS sunv890 5.10 Generic_137111-08 sun4u sparc SUNW,Sun-Fire-V890  
  12. bash-3.00$ cat /etc/release  
  13.                        Solaris 10 1/06 s10s_u1wos_19a SPARC  
  14.            Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.  
  15.                         Use is  subject to license terms.  
  16.                            Assembled 07 December 2005  
  17. bash-3.00$  

由上可以看出该系统为Sun Sparc平台的5.10系统。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值