本文摘自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怎么使用ssh远程连接
centos系统怎么查看mysql安装目录与运行文件所在路径
linux系统如何查看密码
centos怎么启动图形界面?
怎样安装centos7?
centos无法粘贴文件怎么办?
详解centos怎么安装git
centos下调整home和根分区大小
centos下开启防火墙失败怎么办
如何查看centos下tomcat是否启动
更多相关阅读请进入《查看》频道 >>
转载请注明出处:木庄网络博客 » 怎么看centos的版本