环境
- centos
[root@VM-4-12-centos ~]# lsb_release -a
-bash: lsb_release: command not found
因为没有安装这个命令,我们需要安装他
yum -y install redhat-lsb-core-4.1-27.el7.centos.1.x86_64
查看详情
[root@VM-4-12-centos ~]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.8.2003 (Core)
Release: 7.8.2003
Codename: Core