lsb_release: command not found 解决

问题:lsb_release 是查看系统版本信息的工具

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

解决方法: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

猜你喜欢

转载自www.cnblogs.com/weifeng1463/p/9379081.html