解决shell报错-bash命令无法运行问题
发表于|更新于|问题记录
|总字数:48|阅读时长:1分钟|浏览量:
参考博客:解决shell报错-bash: ./test.sh: bin/bash: bad interpreter: No such file or directory
查看*.sh
文件格式
cat -A 文件 |
使用dos2unix
文件转命令
yum install -y dos2unix |
dos2unix *.sh |
文章作者: MUMU
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 blog.wo0ow.com!