找不到命令os x [英] where command not found os x
本文介绍了找不到命令os x的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
好的,标题很容易解释,当我输入 where ...
作为命令时,它会返回
Okay so the title is pretty self explanitory, when I type where ...
as a command it returns
-bash: where: command not found
我当前的bash个人资料包括:
my current bash profile includes :
export PATH="/usr/local/lib:$PATH"
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/lib/node_modules/bin:$PATH"
我用谷歌搜索了一会儿,发现大多数人只需要我同时拥有的/usr/bin
和/usr/sbin
.
I googled it for a while and found that most people just need /usr/bin
and /usr/sbin
which I have both of.
有什么想法吗?
推荐答案
"where"是csh的内置shell.那是您真正想要的吗?
"where" is a shell builtin for csh. Is that what you're really looking for?
哪"和哪里"在/usr/bin下,并告诉您在哪里可以找到给定的命令.
"which" and "whereis" are under /usr/bin, and tell you where to find a given command.
这篇关于找不到命令os x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文