资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

怎么查看Linux内核和系统版本信息-创新互联

怎么查看Linux内核和系统版本信息?相信大部分人都还没学会这个技能,为了让大家学会,给大家总结了以下内容,话不多说,一起往下看吧。

创新互联建站主营定海网站建设的网络公司,主营网站建设方案,重庆APP软件开发,定海h5小程序设计搭建,定海网站营销推广欢迎定海等地区企业咨询

一、查看Linux内核版本信息                                      

方法1:登陆Linux,在终端输入 cat /proc/version

[root@localhost ~]# cat /proc/version
Linux version 3.10.0-957.el7.x86_64 (mockbuild@x86-040.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Oct 4 20:48:51 UTC 201

方法2:登陆Linux,在终端输入 uname -a

[root@localhost ~]# uname -a
Linux localhost 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

方法3:登陆Linux,在终端输入 uname -r

[root@localhost ~]# uname -r
3.10.0-957.el7.x86_64

二、查看Linux系统版本信息

方法1:登陆Linux,在终端输入 cat /etc/issue

[root@localhost ~]# cat /etc/issue
\SKernel \r on an \m

方法2:登陆Linux,在终端输入 cat /etc/redhat-release

[root@localhost ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.6 (Maipo)

方法3:登陆Linux,在终端输入 lsb_release -a

[root@localhost ~]# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 7.6 (Maipo)
Release:        7.6
Codename:       Maip

上文描述的就是查看Linux内核和系统版本信息的方法,具体使用情况还需要大家自己动手实验使用过才能领会。如果想了解更多相关内容,欢迎关注创新互联行业资讯频道!


当前题目:怎么查看Linux内核和系统版本信息-创新互联
分享URL:http://cdkjz.cn/article/hoded.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220