本文摘自PHP中文网,作者angryTom,侵删。

怎么看centos的版本
有下面几种方法:
方法1:uname -a
1 2 | [root@yun /]#uname -a
Linux yun 3.10.0-693.2.2e17.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GUN/Linux
|
方法2:uname -r
推荐学习:CentOS使用教程
1 2 | [root@yun /]#uname -r
3.10.0-693.2.2e17.x86_64
|
方法3:cat /etc/redhat-release
1 2 | [root@yun /]#cat /etc/redhat-release
Centos Linux release 7.4.1702 (Core)
|
方法4:cat /proc/version
1 2 | [root@yun /]#cat /proc/version
Linux version 3.10.0-693.2.2.e17 x86_64
|
方法5:cat /etc/issue
1 2 3 | [root@yun /]#cat /etc/issue
Centos release 7.4.1702
Kernel \r on an \m
|
方法6:(此方法适用于有桌面环境的主机)
系统工具-->设置-->详细信息-->about
PHP中文网,大量centOS运维教程和网站建设教程,欢迎学习。
以上就是怎么看centos的版本的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
centos系统怎么强制踢掉某个登录用户
centos系统apache不解析php
centos查看安装了哪些软件的方法
详解centos安装jdk以及xftp工具使用介绍
centos下执行make命令出错
如何在centos下开启telnet服务
centos php安装目录在哪
centos怎么启动网卡设备
centos php无法启动怎么办
centos 更换yum源
更多相关阅读请进入《查看》频道 >>
转载请注明出处:木庄网络博客 » 怎么看centos的版本