用命令chmod 修改一下bin目录下的.sh权限就可以了如chmod u+x *.sh (星号:通配符)在此执行,OK了。 转载于:https://blog.51cto.com/weichunxi/1375545