shell腳本執行錯誤 $'\r':command not found

shell腳本執行錯誤 $'\r':command not foundshell

 

Linux下有命令dos2unix測試

能夠用一下命令測試spa

vi -b filename

咱們只要輸入dos2unix *.sh就能夠完成轉換工做了unix

若是命令不存在的話就用以下命令安裝code

yum install dos2unix -y
相關文章
相關標籤/搜索