Shell script


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

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

Leave a Reply

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