您的位置 首页 centos

怎么看centos的版本

怎么看centos的版本

有下面几种方法:

方法1:uname -a

[root@yun /]#uname -aLinux 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 -r3.10.0-693.2.2e17.x86_64

方法3:cat /etc/redhat-release

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

方法4:cat /proc/version

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

方法5:cat /etc/issue

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

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

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

PHP中文网,大量centOS运维教程和网站建设教程,欢迎学习。

文章来源:智云一二三科技

文章标题:怎么看centos的版本

文章地址:https://www.zhihuclub.com/12315.shtml

关于作者: 智云科技

热门文章

网站地图