问题: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

 

相关文章:

  • 2022-12-23
  • 2021-10-07
  • 2021-08-18
  • 2022-01-28
  • 2022-01-28
  • 2021-07-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-20
  • 2022-02-04
  • 2021-11-05
  • 2022-12-23
相关资源
相似解决方案