在哪里找不到命令 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?
"which" 和 "whereis" 位于/usr/bin 下,并告诉您在哪里可以找到给定的命令.
"which" and "whereis" are under /usr/bin, and tell you where to find a given command.
这篇关于在哪里找不到命令 os x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文