查看linux系统版本
查看linux系统版本命令――方法/步骤查看linux系统版本命令 1、
方法一:
使用uname -a
如:
linux-uor0:/opt # uname -a
Linux linux-uor0 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/Linux
linux-uor0:/opt # uname -r
2.6.32.12-0.7-default
linux-uor0:/opt #
查看linux系统版本命令 2、
方法二:
使用cat /etc/issue
如:
linux-uor0:/opt # cat /etc/issue
Welcome to SUSE Linux Enterprise Server 11 SP1 (x86_64) - Kernel r (l).
linux-uor0:/opt #
查看linux系统版本命令 3、
方法三:
使用lsb_release -a
如:
linux-uor0:/opt # lsb_release -a
LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description: SUSE Linux Enterprise Server 11 (x86_64)
Release: 11
Codename: n/a
linux-uor0:/opt #
查看linux系统版本命令 4、
方法四:
使用cat /proc/version
如:
linux-uor0:/opt # cat /proc/version
Linux version 2.6.32.12-0.7-default (geeko@buildhost) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP 2010-05-20 11:14:20 +0200
linux-uor0:/opt #