查看Linux版本信息
如何查看Linux系统使用的版本信息呢? 下面这篇文章收集、整理了一些常见的查看Linux系统版本的方法。由于手头只有Oracle Linux、Centos Linux、Redhat Linux三个版本Linux,所以像Debian、Ubuntu之类的Linux系统,下面方法在这些版本都没测试过。 1:more /etc/issue 命令查看 1.1 Oracle Linux [root@DB-Server ~]# more /etc/issue Oracle Linux Server release 5.7 Kernel \r on an \m 1.2 Centos Linux [root@Centos2 ~]# more /etc/issue CentOS release 6.4 (Final) Kernel \r on an \m 1.3 RedHat Linux [root@getlnx05 ~]# more /etc/issue Red Hat Enterprise Linux Server release 5.7 (Tikanga) Kernel \r on an \m 2: lsb_release -a 命令查看 2.1 Oracle Linux [root@DB-Server ~]# lsb_release -a LSB Version: :core-4.0