linux版本命令查看

1.查看内核版本命令:

1)[root@q1test01~]#cat/proc/version

Linuxversion2.6.9-22.ELsmp(bhcompile@crowe.devel.redhat.com)(gccversion3.4.420050721(RedHat3.4.4-2))#1SMPMonSep1918:00:54EDT2005

2)[root@q1test01~]#uname-a

Linuxq1test012.6.9-22.ELsmp#1SMPMonSep1918:00:54EDT2005x86_64x86_64x86_64GNU/Linux

3)[root@q1test01~]#uname-r

2.6.9-22.ELsmp

2.查看linux版本:

1)登录到服务器执行lsb_release-a,即可列出所有版本信息,例如:

[root@3.5.5Biz-46~]#[root@q1test01~]#lsb_release-a

相关推荐