lsb_release: command not found 解決

問題:lsb_release 是查看系統版本信息的工具node

[root@localhost ~]# lsb_release -a
-bash: lsb_release: command not foundbash

解決方法:yum install redhat-lsb -y工具

[root@compass-user-hd-node6]:~# lsb_release  -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:    CentOS
Description:    CentOS Linux release 7.3.1611 (Core) 
Release:    7.3.1611
Codename:    Core
相關文章
相關標籤/搜索