cedivad
cedivad

Reputation: 2644

Redirect two or more STDOUT to a single STDIN

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?

Upvotes: 1

Views: 165

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798526

Yes.

{ command1 ; command2 ; } | command3

Upvotes: 5

Related Questions