V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
cuthead
V2EX  ›  macOS

homebrew 的 brew 命令文件本体在哪? whereis brew 不显示路径

  •  
  •   cuthead · 2015-12-03 11:59:48 +08:00 · 3236 次点击
    这是一个创建于 3060 天前的主题,其中的信息可能已经有所发展或是发生改变。
    但是又能运行 brew install wget
    4 条回复    2015-12-11 22:16:14 +08:00
    cuthead
        1
    cuthead  
    OP
       2015-12-03 12:21:22 +08:00
    sudo find / -name brew -type f 找到了 /usr/local/bin/brew
    die4live
        2
    die4live  
       2015-12-08 22:40:42 +08:00   ❤️ 1
    @cuthead `which brew`
    cuthead
        3
    cuthead  
    OP
       2015-12-09 15:15:26 +08:00
    @die4live 原来是 which ,看来我是记错命令了
    julyclyde
        4
    julyclyde  
       2015-12-11 22:16:14 +08:00
    whereis 是 locate 里的吧。但现代 Unix 一般不执行 updatedb 所以……
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5389 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:40 · PVG 14:40 · LAX 23:40 · JFK 02:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.