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

命令行: uname

会出现系统的名称

cat /etc/redhat-release 

centos系统结果显示如下:

redhat系统结果显示如下:

转载https://blog.csdn.net/u010931123/article/details/107919412

Linux kernel (内核)版本查询:

uname -a

猜你喜欢

转载自blog.csdn.net/u014644574/article/details/119111168