三种查看linux内核版本的方法,每种查看linux内核版本结果都不一样。
[root@localhost ~]# uname -a Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Dec 17 11:42:39 EST 2008 i686 athlon i386 GNU/Linux [root@localhost ~]# [root@localhost ~]# [root@localhost ~]# lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 5.3 (Tikanga) Release: 5.3 Codename: Tikanga [root@localhost ~]# [root@localhost ~]# [root@localhost ~]# cat /etc/issue Red Hat Enterprise Linux Server release 5.3 (Tikanga) Kernel \r on an \m
|
以上三种查询linux内核版本的命令非常实用
阅读(797) | 评论(0) | 转发(0) |