查看centos版本

vi /etc/redhat-release

原文地址:https://www.cnblogs.com/wangshuyi/p/6150106.html