bad interpreter: No such file or directory問題

linux沒法識別dos格式,用如下方法轉化後能夠執行了linux

  1. vi filename
  2. 查看該格式(dos爲windows格式) :set ff
  3. 修改格式 :set ff=unix
  4. 保存退出 :wq
相關文章
相關標籤/搜索