Svi*_*ish 4 linux unix bash
是否可以在 unix/bash 中将两个命令的输出通过管道传输到另一个命令?
我尝试运行以下命令,该命令成功运行了两个命令,但第一个通过管道传输到 stdout,第二个通过管道传输到 less。
$ grep 40515575 * && zgrep 40515575 * | less
pho*_*ops 5
试试这个:
$ ( grep 40515575 * && zgrep 40515575 * ) | less
归档时间:
11 年,7 月 前
查看次数:
1232 次
最近记录: