July 17, 2008

Linux and Unix Named Pipes…

Filed under: Uncategorized — kenjun @ 12:46 pm

The simplest way to show how named pipes work is with an example so run this in a terminal:
mkfifo pipe

Suppose we’ve created pipe as shown above. In one virtual console1, type:

ls -l > pipe
and in another type:
cat < pipe


Blog at

%d bloggers like this: