Solved

question about FIFO

Posted on 2001-08-01
4
323 Views
Last Modified: 2010-05-18
  what FIFO means in Linux world,what's the function of i
t,and,when should i use "mkfifo" command to deal with stuf
fs about FIFO ??----this is a question of concept.thanks
0
Comment
Question by:wingboad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:ifincham
ID: 6344630
A fifo (first-in first-out) in this context is a named pipe. An example of an unnamed pipe would the '|' character if you did 'rpm -qa | grep ^gnome '.

With a named pipe you do something like

mkfifo testpipe           (create)
echo 1 > testpipe &       (send some data)
cat testpipe              (read from pipe)    
rm testpipe               (remove pipe)

Rgds.
0
 

Author Comment

by:wingboad
ID: 6347010
ok,but who will use this FIFO,i am a network administrator,
maybe only developer will use this to exchange data from di
fferent processure,right?
0
 
LVL 2

Accepted Solution

by:
ifincham earned 10 total points
ID: 6353735
Hi,

In the above context, yes - it would be used by developers. However, as far as I understand, fifos are used in writing device drivers in the context of buffers. For example, modem buffers. As such, you may well come across fifos in the networking arena.

Rgds
0
 

Author Comment

by:wingboad
ID: 6354609
ok,thanks a lot
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question