2018-11-20

/bin/bash^M: bad interpreter: No such file or directory



Unix uses different line feeds and carriage returns so can't read the file you created on Windows. Hence it is seeing ^M as an illegal character.

In windows, using Notepad+ change to UNIX format.



参考资料: -bash: ./my_script: /bin/bash^M: bad interpreter: No such file or directory [duplicate]


 

没有评论:

发表评论

谢谢您的留言^_^

Ubuntu SSR setting

使用electron-ssr客户端 https://github.com/shadowsocksrr/electron-ssr 设置proxy