Solved

question about FIFO

Posted on 2001-08-01
4
316 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
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…

808 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