Recent Articles



































Named Pipes



         


In computing, a named pipe (also FIFO for its behaviour) is an extension to the classical pipe concept on Unix and Unix-like systems, and is one of the methods of interprocess communication.

Instead of a conventional, unnamed, shell pipeline, a named pipeline is explicitly created using mknod or mkfifo, and two separate processes can access the pipeline by name.

For example, one can create a pipe, set up gzip to compress things piped to it

mkfifo pipe gzip -9 -c < pipe > out

in a separate process, independently, one could perform

cat file > pipe

which would then perform the compression by gzip.


This article is a stub. You can help BambooWeb by .





  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License