question about FIFO

Posted on 2001-08-01
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
Question by:wingboad
  • 2
  • 2

Expert Comment

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)


Author Comment

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?

Accepted Solution

ifincham earned 10 total points
ID: 6353735

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.


Author Comment

ID: 6354609
ok,thanks a lot

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

18 Experts available now in Live!

Get 1:1 Help Now