Unix File Types - Named Pipe

Named Pipe

One of the strengths of Unix has always been inter-process communication. Amongst the facilities provided by the OS are so-called pipes. These pipes connect the output of one Unix process to the input of another. This is fine if both processes are living in the same parent process space, started by the same user. There are however circumstances where the communicating processes must use named pipes. One such circumstance is that the processes have to be executed under different user names and permissions.

These named pipes are special files that can exist anywhere in the file system. These named pipe special files are made with the command mkfifo as in mkfifo mypipe.

A named pipe is marked with a p as the first letter of the mode string, e.g.

prw-rw---- ... mypipe

Read more about this topic:  Unix File Types

Famous quotes containing the words named and/or pipe:

    We named you Joy.
    I, who was never quite sure
    about being a girl, needed another
    life, another image to remind me.
    And this was my worst guilt; you could not cure
    nor soothe it. I made you to find me.
    Anne Sexton (1928–1974)

    I am dead against art’s being self-expression. I see an inherent failure in any story which fails to detach itself from the author—detach itself in the sense that a well-blown soap-bubble detaches itself from the bowl of the blower’s pipe and spherically takes off into the air as a new, whole, pure, iridescent world. Whereas the ill-blown bubble, as children know, timidly adheres to the bowl’s lip, then either bursts or sinks flatly back again.
    Elizabeth Bowen (1899–1973)