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.
Read more about this topic: Unix File Types
Famous quotes containing the words named and/or pipe:
“Histories of the world omitted China; if a Chinaman invented compass or movable type or gunpowder we promptly forgot it and named their European inventors. In short, we regarded China as a sort of different and quite inconsequential planet.”
—W.E.B. (William Edward Burghardt)
“It is not that the Englishman cant feelit is that he is afraid to feel. He has been taught at his public school that feeling is bad form. He must not express great joy or sorrow, or even open his mouth too wide when he talkshis pipe might fall out if he did.”
—E.M. (Edward Morgan)