方法一:shell
[root@localhost ~]# cat /etc/redhat-release CentOS release 6.5 (Final)
方法二:code
[root@localhost ~]# cat /etc/issue CentOS release 6.5 (Final) Kernel \r on an \m