破折号是什么意思?

Fra*_*eng 0 bash sh

mongodump -db somedb --collection somecollection --out - | gzip > dump.gz
Run Code Online (Sandbox Code Playgroud)

上图中的破折号是什么意思?我似乎与隧道有关。但是在查找 bash 参考之后,我仍然无法理解什么意思。

oxn*_*xnz 5

这意味着输出到标准输出,所以管道会将它传递给gzip. 这不是关于bash(1),而是由程序决定mongodump。在 unix 和 linux 中,-与输入或输出相关的破折号通常代表stdinstdout