写脚本:$ 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
相关文章
相关标签/搜索