怎么看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 分享