![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| will a named pipe always be size 0 on filesystem? | JamesByars | UNIX for Advanced & Expert Users | 4 | 03-01-2008 01:39 PM |
| fifo or named pipe working? | lvkchaitanya | UNIX for Dummies Questions & Answers | 1 | 02-06-2008 09:44 AM |
| Named PIPE | Tamil | UNIX for Dummies Questions & Answers | 2 | 01-17-2007 12:20 AM |
| IPC using named pipe | sharanbr | High Level Programming | 2 | 02-16-2006 09:01 AM |
| IPC using named pipe | sharanbr | UNIX for Advanced & Expert Users | 1 | 02-15-2006 01:24 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Named Pipe contents to a file
I want to copy the contents of a named pipe to a file. I have tried using:
cat pipe.p >> transcript.log but I have been unsuccessful, any ideas? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
A named pipe is used for 2 processes to communicate with each other.
One process writes to the pipe where the other reads from the pipe. What are you trying to accomplish anyway? |
|
#3
|
|||
|
|||
|
I know what a named pipe is!
What I am doing is a chat program, I am transmitting the messages between users through the named pipes. I want to send to a file the contents of the pipe, in order to keep a record of the conversation. |
|
#4
|
|||
|
|||
|
Seems to me a violation of privacy.
Do you have permission of those users to record their conversation? |
|
#5
|
|||
|
|||
|
use following syntax
make the content u r writing as a background process ex:: mkfifo -m 600 foo ls -l > foo & cat foo |
|||
| Google The UNIX and Linux Forums |