查看linux系统版本命令

来源:互联网 发布:佳能app软件下载 编辑:程序博客网 时间:2024/05/17 09:29

查看linux系统版本命令:

 

 

[ysong@IDC ~]$uname -aLinux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux[ysong@IDC ~]$cat /etc/issueRed Hat Enterprise Linux Server release 5.2 (Tikanga)Kernel \r on an \m[ysong@IDC ~]$cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.2 (Tikanga)[ysong@IDC ~]$cat /proc/versionLinux version 2.6.18-92.el5 (brewbuilder@ls20-bc2-13.build.redhat.com) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-41)) #1 SMP Tue Apr 29 13:16:15 EDT 2008[ysong@IDC ~]$uname -r2.6.18-92.el5[ysong@IDC ~]$ lsb_release -aLSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID: RedHatEnterpriseServerDescription:    Red Hat Enterprise Linux Server release 5.2 (Tikanga)Release:        5.2Codename:       Tikanga[ysong@IDC ~]$cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 5.2 (Tikanga)[ysong@IDC ~]$rpm -q redhat-releaseredhat-release-5Server-5.2.0.4

 

原创粉丝点击