Create one, look at it, and use it correctly
Create one, look at it, and use it correctly
Answer
mkfifo mypipe ls -l mypipe cat mypipe & ls -l > mypipe
The listing shows type p and size 0. The reader goes into the background first and blocks in open(); the writer on the last line releases it.
S&K 3e ch9 §9.15