查看CentOS版本的方法
很多时候,我们可以通过uname -a命令来查看linux的版本,但是很多时候我们却没法准确的查看到CentOS的版本号,下面介绍几个命令。 # lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.4 (Final) Release: 5.4 Codename: Final 这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。 root@M...