美文网首页
MacOS 终端出现-bash: 命令: command not

MacOS 终端出现-bash: 命令: command not

作者: BU二先森 | 来源:发表于2019-05-06 09:26 被阅读0次

什么原因不知道,如有大神路过方便告知,不胜感激。度娘了一下如下方法可以解决,记录一下

1.在终端输入:vim ~/.bash_profile

2.在里面添加:export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:.

3.在:wq后,输入:source ~/.bash_profile

相关文章

网友评论

      本文标题:MacOS 终端出现-bash: 命令: command not

      本文链接:https://www.haomeiwen.com/subject/yibloqtx.html