A pipe is two or more commands separated by pipe char '|'. That tells the shell to arrange for the output of the preceding command to be passed as input to the following command. Example : ls -l | pr The output for a command ls is the standard input of pr. When a sequence of commands are combined using pipe, then it is called pipeline.
In Unix Pipe is a way of interprocess communication. In other words it is a mechanism in which o/p of a command can be redirected as Input of other command. For e.g
Pipe is a way of interprocess communication. In other words it is a mechanism in which o/p of a command can be redirected as Input of other command. For e.g