Linux:centos version

查看CentOS系统版本的方法:

方法1: lsb_release -a

[root@mt2-shop-nginx01 ~]# lsb_release -a 
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch 
Distributor ID: CentOS 
Description: CentOS release 6.5 (Final) 
Release: 6.5 
Codename: Final

方法2:cat /etc/redhat-release

[root@mt2-shop-nginx01 ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
You have mail in /var/spool/mail/root

Leave a comment

您的电子邮箱地址不会被公开。 必填项已用*标注