Sep 26, 2011
49 Views
0 0

Pipes

Written by

A pipe is a way to connect the output of one program to the input of another program without any temporary file.

Syntax:
command1 | command2

eg: who | wc -l  

Output of who command is given as input to wc command So that it will number of user who logon to system

Pipe - Redirecting output of 1st command to 2nd without creating temporary file

Article Categories:
Shell script

Leave a Comment

Your email address will not be published. Required fields are marked *