查看Linux版本命令

[web_meg@localhost logs]$ cat /etc/issue
CentOS release 5.5 (Final)
Kernel \r on an \m

[web_meg@localhost logs]$ lsb_release -a
LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:    CentOS release 5.5 (Final)
Release:        5.5
Codename:       Final
[web_meg@localhost logs]$

你可能感兴趣的:(linux,版本,查看)