执行shell脚本出现异常:bad interpreter: No such file or directory如何解决

1、问题html 一、执行shell脚本出现异常:bad interpreter: No such file or directoryshell 2、分析windows 一、.sh文件的编码格式问题,在windows系统中编辑的.sh文件可能有不可见字符,因此在Linux系统下执行会报以上异常信息。bash 二、脚本语句写错问题。app 3、解决编码 一、检查 .sh文件的编码格式spa (1)确
相关文章
相关标签/搜索