查看Linux版本 suse版本 lsb_release -a suse版本之间差距还是有的,在suse12.2跑的脚本没有问题,到suse12.4上就出现问题了。 centos版本 cat /etc/redhat-release