/bin/sh^M:损坏的解释器: 没有那个文件或目录
来源:互联网 发布:windows损坏文件 编辑:程序博客网 时间:2024/06/02 04:58
点进这个文章,你一定是在windows上保存文件,然后上传到linux上执行了
解决方法
vim yourfile.sh
:set ff=unix
:wq
然后
sed -i 's/\r$//' yourfile.sh
扯淡的文件系统,最近得补补linux知识了
0 0
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bash: ./onekey.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bash: ./t.sh:/bin/bash^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- 问题: /bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- bash: ./cmd.sh: /bin/sh^M: 坏的解释器: 没有那个文件或目录
- sh文件运行提示 “/bin/bash^M: 坏的解释器: 没有那个文件或目录”
- ORACLE内存管理简述1
- php高级函数【递归函数】
- 记录下过年要写的博客
- Plugin is too old, please update to a more recent version 解决办法 2016.1.2
- 使用keytool生成证书和秘钥
- /bin/sh^M:损坏的解释器: 没有那个文件或目录
- 163,如何实现懒加载——getter方法
- 文章标题
- [从头学数学] 第22节 表内乘法(一)
- 01 Matrix 杭电2015年12月校赛F (二维DP)
- Scala光速入门之Scala的基本语法、Array、Map、Tuple等
- Android Imageview中获取缓存图片添加水印
- BZOJ 3207 花神的嘲讽计划Ⅰ 可持久化线段树
- 树中点对距离