一、lsb_release -a,便可列出全部版本信息:spa
[root@S-CentOS ~]# lsb_release -aip
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchio
Distributor ID: CentOSclass
Description: CentOS release 6.5 (Final)co
Release: 6.5script
Codename: Final版本
這個命令適用於全部的Linux發行版,包括RedHat、SUSE、Debian…等發行版。arc