1.

Describe pipes in Unix

Answer»

 A pipe is a unidirectional mechanism of INTERPROCESS communication. In a Unix COMMAND line, if a pipe is being used, the first process is ASSUMED to be WRITING to stdout and the second is assumed to be reading from stdin.

$who | sort | lpr

This will create 3 PROCESSES with 2 pipes in between them.



Discussion

No Comment Found