Kenjun

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

http://www.linuxjournal.com/article/2156

Advertisements

Create a free website or blog at WordPress.com.

%d bloggers like this: