linux 檢視系統版本號

kidking2010發表於2011-11-25
[root@localhost ~]# cat /etc/issue
CentOS release 5.4 (Final)
Kernel \r on an \m

[root@localhost ~]# cat /proc/version
Linux version 2.6.18-238.19.1.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Fri Jul 15 07:31:24 EDT 2011
[root@localhost ~]# lsb_release -a
LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:    CentOS release 5.4 (Final)
Release:        5.4
Codename:       Final

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23141985/viewspace-712048/,如需轉載,請註明出處,否則將追究法律責任。

相關文章