怎么看centos的版本

怎么看centos的版本

怎么看centos的版本

有下面几种方法:

方法1:uname -a

[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使用教程

[root@yun /]#uname -r 3.10.0-693.2.2e17.x86_64

方法3:cat /etc/redhat-release

[root@yun /]#cat /etc/redhat-release centos Linux release 7.4.1702 (Core)

方法4:cat /proc/version

[root@yun /]#cat /proc/version Linux version 3.10.0-693.2.2.e17 x86_64

方法5:cat /etc/issue

[root@yun /]#cat /etc/issue Centos release  7.4.1702 Kernel r on an m

方法6:(此方法适用于有桌面环境的主机)

系统工具–>设置–>详细信息–>about

PHP中文网,大量centOS运维教程和CentOS使用教程,欢迎学习。

以上就是怎么看

© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享