Solved

question about FIFO

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

705 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