A named pipe: write to it with one or more processes, read to it with another. All sorts of neat things become easier with a fifo.
See http://aplawrence.com/SCOFAQ/scotec7.html#netdevice for an example, and also http://aplawrence.com/Unixart/remoteprint.html. Here are some other ideas: http://searchenterpriselinux.techtarget.com/tip/1,289483,sid39_gci955458,00.html.
If you found something useful today, please consider a small donation.
Got something to add? Send me email.
More Articles by Tony Lawrence © 2011-07-05 Tony Lawrence
The activity of "debugging", or removing bugs from a program, ends when people get tired of doing it, not when the bugs are removed. (Datamation)