lsb_release: command not found 解决

问题:

lsb_release 是查看系统版本信息的工具,提示命令找不到。

 

[root@test ~]# lsb_release -a   
-bash: lsb_release: command not found

 

解决方法:

yum install redhat-lsb �Cy

 

[root@mongo02 ~]# lsb_release -a   
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch    
Distributor ID: CentOS    
Description:    CentOS release 6.4 (Final)    
Release:        6.4    
Codename:       Final


你可能感兴趣的:(lsb_release,redhat-lsb)