寫腳本:$ open demo.sh 報錯提示: bash: open: command not found

在學習腳本的過程中出現的第一個報錯: $ open demo.sh bash: open: command not found 原因是windows中 open demo.txt要改爲start demo.txt,記住就好了。 還有一個錯誤是進入在桌面創建local文件夾後要使用 ~/Desktop/local 才能進入,不能直接 ~/local 很多同學出錯都是因爲明明把文件創建在 ~/Desk
相關文章
相關標籤/搜索