centos查看版本

命令:cat /etc/redhat-release

原文地址:https://www.cnblogs.com/rzxiaojia/p/6340739.html