【问题标题】:While cloning ohmyzh in the terminal, it says, "file not found." Why?在终端中克隆 ohmyzh 时,它显示“找不到文件”。为什么?
【发布时间】:2019-02-23 03:37:51
【问题描述】:

这是:

 <machine>:~ techmick$ $ sh -c "$(curl -fsSL https://...)"
 bash: $: command not found

似乎有错误。

不知道为什么。什么可能是错的?

【问题讨论】:

    标签: git terminal macos-sierra


    【解决方案1】:

    确保您没有复制命令前面的$

    它是一个 shell 提示符生成器,​​不应该是它的一部分。

    你应该只复制和执行:

    sh -c ...
    

    不是:

    $ sh -c ...
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-12-15
      • 2019-05-30
      • 1970-01-01
      • 1970-01-01
      • 2020-07-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多