Pipe

pipe

)A temporary software connection between two programs or commands. Normally, the operating system accepts input from the keyboard and sends output to the display screen. Sometimes, however, it is useful to use the output from one command as the input for a second command, without passing the data through the keyboard or display screen. Pipes were invented for these situations.

One of the best examples of pipe usage is linking the command that lists files in a directory to a command that sorts data. By piping the two commands together, you can display the files in sorted order. In UNIX and DOS, the pipe symbol is a vertical bar (|). The DOS command to list files in alphabetical order, therefore, would be:

DIR | SORT

Webopedia Staff
Webopedia Staff
Since 1995, more than 100 tech experts and researchers have kept Webopedia’s definitions, articles, and study guides up to date. For more information on current editorial staff, please visit our About page.

Related Articles

@ Sign

Pronounced at sign or simply as at, this symbol is used in e-mail addressing to separate the user' name from the user's domain name,...

Munging

(MUHN-jing) Munging (address munging), is the act of altering an email address posted on a Web page to make it unreadable to bots and...

How to Create an RSS Feed

In the second installment of RSS how-to, we look at some of the nonrequired (optional) channel and item tags, discuss RSS specifications in-depth and...

Dictionary Attack

(n.) (1) A method used to break security systems, specifically password-based security systems, in which the attacker systematically tests all possible passwords beginning with...

ScalaHosting

ScalaHosting is a leading managed hosting provider that offers secure, scalable, and affordable...

HRIS

Human resources information system (HRIS) solutions help businesses manage multiple facets of their...

Best Managed Service Providers...

In today's business world, managed services are more critical than ever. They can...