赞
踩
- [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
[root@localhost ~]# vi mysql5.6.44-install-auto.sh
:set ff
可以看到改文件的格式为dos
fileformat=dos
使用vi修改文件format
命令:set ff=unix
:set ff=unix
执行完后再通过set ff命令查看文件格式,结果如下:
fileformat=unix
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。