Guide to Unix/Explanations/Interprocess Communication

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

[edit] PIPEs

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export