linux版本查看

[cbill@localhost Desktop]$ cat /proc/version
Linux version 2.6.18-238.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Sun Dec 19 14:22:44 EST 2010
[cbill@localhost Desktop]$ uname -a
Linux localhost.localdomain 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
[cbill@localhost Desktop]$ uname -r
2.6.18-238.el5
[cbill@localhost Desktop]$ lsb_release -a
LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Release:        5.6
Codename:       Tikanga
[cbill@localhost Desktop]$ cat /etc/issue
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Kernel \r on an \m

[cbill@localhost Desktop]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
[cbill@localhost Desktop]$

你可能感兴趣的:(linux)