使用 lsb_release 命令
[syy@syy ~]$ lsb_release -a LSB Version: :base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.5 (Final) Release: 6.5 Codename: Final [syy@syy ~]$
如何查看远程主机CentOS的版本(2),布布扣,bubuko.com
原文:http://blog.csdn.net/yunying_si/article/details/23762007