linux 多种查看系统版本的方法

1。

[oracle@adpbj boes]$ cat /proc/version
Linux version 2.6.9-89.EL (mockbuild@hs20-bc2-5.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 Mon Apr 20 10:22:29 EDT 2009

2。

[oracle@adpbj boes]$ uname -a
Linux adpbj 2.6.9-89.EL #1 Mon Apr 20 10:22:29 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

3.

[root@adpwq ~]# lsb_release -a
LSB Version:    :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description:    Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Release:        4
Codename:       NahantUpdate8

4.

[root@adpwq ~]# cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Kernel \r on an \m

5.

[root@adpwq ~]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)

你可能感兴趣的:(linux,linux,职场,version,休闲)