如何查看linux版本是centos还是redhat

命令行: uname

会出现系统的名称

再输入

cat /etc/redhat-release 

则会出现具体系统

 

原文地址:https://www.cnblogs.com/yecao8888/p/14213021.html