|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | 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 Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Doubts on FIFO
Hi ,
I m beginner for Unix and i want to use FIFO in my 2 Scripts . I want 1 script to read data from FIFO and other will write into FIFO. Despite reading so many articles/posts i am still unable sunchronize my scripts. My doubts are 1> Do We require both scripts as daemons to use FIFO ? 2> Below is my code ,pls modify it to make it work . $ cat write echo "name:" "Akshay" > /home/nbkpxj6/db.FIFO $cat read eventQueue=/home/user/db.FIFO while : ; do cat $eventQueue | while read name; do echo $name done done I m getting error " 0403-006 Execute permission denied." I know above code can work for 2 separate terminals , but i want single terminal to run both scripts, write value and read value from FIFO. Thanks in advance Last edited by Akshay; 06-06-2008 at 09:04 AM.. |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| doubts in crontab | subin_bala | Shell Programming and Scripting | 1 | 04-26-2008 08:01 AM |
| unix doubts | ashishshah.engg | UNIX for Dummies Questions & Answers | 0 | 04-24-2008 09:42 AM |
| plz clear my doubts | soumya_v7 | UNIX for Dummies Questions & Answers | 3 | 03-13-2008 04:06 PM |
| how to use fifo | atticus | Programming | 3 | 06-05-2006 11:15 AM |
| FIFO over NFS | saabir | UNIX for Advanced & Expert Users | 2 | 08-06-2003 09:03 AM |