/bin/sh^M:损坏的解释器: 没有那个文件或目录
2013-01-24 09:21
232 查看
当脚本从windows下拷贝到linux下,执行脚本时,常常出现 ” /bin/sh^M:损坏的解释器: 没有那个文件或目录 “提示可以用im打开脚本文件,然后执行下面的命令:
:set ff=unix
:wq
:set ff=unix
:wq
相关文章推荐
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- 脚本执行错误---binsh^M:损坏的解释器 没有那个文件或目录
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bash: ./onekey.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- bin/sh^M:损坏的解释器: 没有那个文件或目录
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- Shell脚本bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录