What does mknod do? What?s a named pipe?






What does mknod do? What?s a named pipe? ..

Answer / harendrakumarlinux

in linux system everything includind hardware is a file. the
coomand mknod,mkfifo craetes these special files like block
files for a disk which can take multiple inputs
simultaneously or a special character file denoted by c
which can take one input at a time

names pipes(also known as fifo) are special pipes these are
used for interprocess communication. suppose you have written
ps -e |less in this example the output of the ps -e coomand
will be temporaroly moved to temporary file created by this
pipe and you will be able to see the data. but as soon as
this process ends this file will be ended. but the files
created by named pipes will not be deleted. named pipes are
created using the command mkfifo or mknod. named pipes are
system persistant.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer




More Unix AllOther Interview Questions

What is the difference between windows environment and Unix environment ?

8 Answers   Oracle,


virtual terminal protocol is an example of which layer and works with which layer?

1 Answers   Virtusa, DOEACC,


How do you create special files like named pipes and device files?

1 Answers   Wipro,


how to raise a suncase?pls explain step by step?

0 Answers   CGI,


I am trying to unmount a remote file system,but I do not unmount that file system.How can i know the user name (i.e.,user who is using that file system).....write the command with argument

2 Answers  






Have you used VI editor?

1 Answers   BMC,


How to remove weird filenames?

1 Answers  


What is the difference between hard link & softlink?

2 Answers  


What is file system in UNIX?

6 Answers   BMC,


HOW DO CREATE A NFS FILE SYSTEM

4 Answers   Mind Tree,


What is a Region?

1 Answers  


what is the time for incident, problem and change management tickets?

0 Answers   CGI,






Categories