CentOS6 Shell腳本/bin/bash^M: bad interpreter錯誤解決方法

CentOS6 Shell腳本/bin/bash^M: bad interpreter錯誤解決方法 在windows下保存了一個腳本文件,用ssh上傳到centos,添加權限執行nginx提示沒有那個文件或目錄。 shell腳本放到/etc/init.d/目錄下,再執行/etc/init.d/nginx,提示多了這句/bin/bash^M: bad interpreter。 網上找了資料才知道 若
相關文章
相關標籤/搜索