情况一:如果你在window打的安装包,存在.sh文件,当你操作.sh文件的时候,每行里面存在^M标示,处理方式:
1.:set ff
如果是doc 设置成unix
:set fileformat=unix:wq
2.如果fileformat是unix还报错
sed -i 's/\r//' fileName(处理的文件名)
转载自:http://blog.csdn.net/zhaoyayua/article/details/51837041?locationNum=1&fps=1
http://stackoverflow.com/questions/2920416/configure-bin-shm-bad-interpreter