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

给文件权限 chmod -R 777 file
1、使用vi 查看文件
2、:set ff 查看文件格式
文件格式
3、设置文件格式为unix

set ff=unix

4、:wq! 强制保存

猜你喜欢

转载自blog.csdn.net/qq_38423105/article/details/82257922
今日推荐