Redirect two or more STDOUT to a single STDIN

烂漫一生 提交于 2019-12-23 06:08:36

问题


I would like to redirect the output of two programs to a single STDIN pipe, possibly in the most efficient way possible.

Is that possible?


回答1:


Yes.

{ command1 ; command2 ; } | command3


来源:https://stackoverflow.com/questions/26948350/redirect-two-or-more-stdout-to-a-single-stdin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!