“-o”之后的减号是什么? (在curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash)

时间:2018-05-02 21:49:09

标签: curl

我检查了curl文档,它说-o选项用于将下载的数据保存到文件中。但是我使用下面的命令来安装nvm,它在o之后有一个减号。它是干什么用的? curl -o-https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

如果我们要将install.sh传递给bash,首先保存它会有什么用?

0 个答案:

没有答案