Guide to Unix/Explanations/Interprocess Communication

PIPEs

edit

One of the beauties of UNIX/Linux are pipes. Pipes are used for redirecting STDOUT (standard out) to STDIN (standard in).

$ command1 | command2

command1 standard output is redirected as standard input to command2.