转载自 https://my.oschina.net/gef/blog/633606
.sh command not found 或 Permission denied
解决方法为在命令行输入:
chmod u+x *.sh