有3种方法可以查看:
# 通过/etc/issue文件查看 [[email protected] ~]# cat /etc/issue CentOS release 6.6 (Final) Kernel \r on an \m # 通过/etc/redhat-release文件查看 [[email protected] ~]# cat /etc/redhat-release CentOS release 6.6 (Final) # 通过RPM的方式查看 [[email protected] ~]# rpm -q centos-release centos-release-6-6.el6.centos.12.2.i686
时间: 2024-11-08 20:39:37