如何查询Linux内核版本

2025-04-19 02:48:37
推荐回答(1个)
回答1:

查看内核版本命令:  
1) [root@q1test01 ~]# cat /proc/version  

Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 18:00:54 EDT 2005  

2) [root@q1test01 ~]# uname -a  
Linux
q1test01 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64
x86_64 x86_64 GNU/Linux  3) [root@q1test01 ~]# uname -r  2.6.9-22.ELsmp