Jump to content

Guide to Unix/Explanations/Interprocess Communication

From Wikibooks, open books for an open world

PIPEs

[edit | edit source]

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.