Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Vertical bar
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Pipe ==== {{Main|Pipeline (Unix)}} A [[pipe (Unix)|pipe]] is an [[inter-process communication]] mechanism originating in [[Unix]], which directs the output (standard out and, optionally, standard error) of one process to the input (standard in) of another. In this way, a series of commands can be "piped" together, giving users the ability to quickly perform complex multi-stage processing from the [[Command-line interface|command line]] or as part of a [[UNIX shell script|Unix shell script]] ("bash file"). In most [[Unix shell]]s (command interpreters), this is represented by the vertical bar character. For example: <code> [[grep]] -i 'blair' filename.log | [[More (command)#Unix|more]] </code> where the output from the <kbd>grep</kbd> process (all lines containing 'blair') is piped to the <kbd>more</kbd> process (which allows a command line user to read through results one page at a time). The same "pipe" feature is also found in later versions of [[DOS]] and Microsoft Windows. This usage has led to the character itself being called "pipe".
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)