shell脚本报错:-bash: xxx: /bin/bash^M: bad interpreter: No such file or directory

第一次写shell脚本,而后在执行的时候报错,以下: [root@localhost ~]# ./mysql5.6.44-install-auto.sh -bash: ./mysql5.6.44-install-auto.sh: /bin/bash^M: bad interpreter: No such file or directory 主要缘由是test.sh是我在windows下编辑而后上
相关文章
相关标签/搜索