Linux命令查看操作系统版本,内核版本等信息 uname和lsb_release
作者:我就是个世界
发表于:2011-09-28
查看内核版本信息:[color=#FF0000]uname -a[/color]
查看操作系统版本:[color=#FF0000]lsb_release[/color]
[code]
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux
[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: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final
[/code]
请发表您的评论