linux下执行脚本(shell,python等),提示Command not found解决办法
原文地址:http://www.cnblogs.com/GordonWorld/archive/2012/03/19/2406225.html
Linux下执行.sh脚本错误:bin/sh^M: bad interpreter: No such file or directory
同样的python文件也是,即使在scripts开头指定了运行程序!
原因是脚本是在windows系统下编写的。...
转载
2019-03-28 10:42:35 ·
16012 阅读 ·
0 评论