当前位置: 代码迷 >> 综合 >> 执行脚本出现bin/bash: bad interpreter: No such file or directory的解决办法
  详细解决方案

执行脚本出现bin/bash: bad interpreter: No such file or directory的解决办法

热度:22   发布时间:2024-01-15 14:37:57.0


错误原因之一很有可能是你的脚本文件是DOS格式的, 即每一行的行尾以\r\n来标识, 其ASCII码分别是0x0D, 0x0A.


执行dos2unix 命令转换编码,   命令为: #dos2unix full_build.sh







  相关解决方案