在linux下,自己编写的脚本需要执行的时候,需要加上执行的权限 解决方式:chmod 777 test.sh 转载于:https://www.cnblogs.com/wuyou/p/3366690.html