Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
-次のコマンドの(マイナス)記号の意味を誰かに説明してもらえますか?
-
wget -O - "https://www.some-domain.com/file.tar.gz" | tar xzf -
- コマンドとそれがどのように応答するかによって異なります。ただし、通常はbashコマンドのstdout/stdinを意味します。
この場合、-は-Oオプションの引数であるため、ダウンロードされたデータはファイルに保存されず、stdoutに出力されるため、tarコマンドにパイプできます。
-O