Solved

question about FIFO

Posted on 2001-08-01
4
311 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
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:ifincham
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
ok,thanks a lot
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now