问题:lsb_release 是查看系统版本信息的工具
[root@localhost ~]# lsb_release -a
bash: lsb_release: command not found...
[root@localhost ~]# yum install redhat-lsb -y
[root@localhost ~]# 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.4.1708 (Core)
Release: 7.4.1708
Codename: Core
[root@localhost ~]#
本文介绍了如何使用lsb_release工具来查询CentOS系统的版本信息。当遇到命令未找到的情况时,可以通过安装redhat-lsb包解决。文中展示了具体的命令操作步骤及最终查询到的系统版本详情。

977

被折叠的 条评论
为什么被折叠?



