查看linux版本信息相关命令

查看linux distribution版本信息的命令有以下几个
系统信息

$ uname -a
Linux debian 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686 GNU/Linux

详细版本

$ cat /proc/version
Linux version 2.6.32-5-686 (Debian 2.6.32-30) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Wed Jan 12 04:01:41 UTC 2011

发行版版本信息

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0 (squeeze)
Release:         6.0
Codename:     squeeze

发表评论