Guide to Unix/Explanations/Interprocess Communication

From Wikibooks, open books for an open world
< Guide to Unix‎ | Explanations
Jump to: navigation, search

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.