sim*_*mge 1 unix macos bash terminal
我无法在UNIX bash中修复命令未找到的错误.我需要将当前目录添加到我的搜索路径.但是,我在谷歌搜索,但我找不到任何告诉我直接解决方案(因为我在初学者级别,很难理解)
当我写到终端时pwd
,它说
/Users/macbook
Run Code Online (Sandbox Code Playgroud)
当我写作时echo $PATH
,它说
/Users/macbook/opt/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/opt/X11/bin:/Users/macbook/OPT/BIN:/Users/macbook/opt/bin
Run Code Online (Sandbox Code Playgroud)
如何将当前目录添加到搜索路径?感谢您的任何帮助!
归档时间: |
|
查看次数: |
4896 次 |
最近记录: |