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