赞
踩
在终端执行shell脚本后,出现问题如下:
[root]# ./app.sh bash: ./app.sh: 权限不够
解决方法是先使用chmod命令对shell脚本赋予权限,再执行
[root]# chmod 777 ./app.sh [root]# ./app.sh