当前位置:首页 > 操作系统 > Linux

linux查看版本信息


常用linux查看版本信息的方法:

1.cat /proc/version

[root@cdc ~]# cat /proc/version
Linux version 2.6.32-642.el6.x86_64 (mockbuild@x86-033.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Wed Apr 13 00:51:26 EDT 2016

2.uname -a
[root@cdc ~]# uname -a
Linux cdc 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux


3.cat /etc/issue

[root@cdc ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.8 (Santiago)
Kernel r on an m


4.lsb_release -a

[root@cdc ~]# lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:    RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 6.8 (Santiago)
Release:    6.8
Codename:    Santiago

原文:http://lk886655.blog.51cto.com/7036409/1965569


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐