解决 syntax error: unexpected end of file 或者 /bin/bash^M: bad interpreter: No such file or directory

咱们在windows上建立shell脚本文件,上传到linux服务器,执行shell脚本时,不出意外的话,会报下面的错误:linux syntax error: unexpected end of file 或者 /bin/bash^M: bad interpreter: No such file or directoryshell 举例:vim [root@sjk3 ~]# sh percona
相关文章
相关标签/搜索