cmd1 |& cmd2

Category: I/O Redirection & Pipes

cmd1 |& cmd2

Pipe both stdout and stderr of cmd1 to cmd2

Pipes both stdout and error messages from cmd1 into cmd2, so cmd2 sees everything.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.