How can I pipe standard output and standard error from one command to another, like csh does with `|&'?
Use
command 2>&1 | command2
The key is to remember that piping is performed before redirection, so
file descriptor 1 points to the pipe when it is duplicated onto file
descriptor 2.
Home | FAQ |