一种方法: # cat /etc/redhat-release 另一种方法: # rpm -qa centos-release 两种方式查出的系统版本都是CentOS7.5 如果以上内容对你有用,希望你能给我点个赞,分享给更多的人~