-bash: ./full_build.sh: /bin/bash^M: bad interpreter: No such file or directory
在window系統(tǒng)下編輯.sh傳到Linux服務器上可能會出現(xiàn)-bash: ./full_build.sh: /bin/bash^M: bad interpreter: No such file or directory錯誤這時候可以在vim使用命令查看一下,:set ff? 如果出現(xiàn)dos 使用命令:set ff=unix
2017-07-28
在window系統(tǒng)下編輯.sh傳到Linux服務器上可能會出現(xiàn)-bash: ./full_build.sh: /bin/bash^M: bad interpreter: No such file or directory錯誤這時候可以在vim使用命令查看一下,:set ff? 如果出現(xiàn)dos 使用命令:set ff=unix