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 scripting languages do you know?

1 Answers  


Give two UNIX kernel parameters that effect an Oracle install

1 Answers  


Which is the most commonly used replacement algorithm?

0 Answers   Aditi Placement Service,


How do you use Unix for Backend Testing ?

1 Answers   Wipro,


Have you used VI editor?

1 Answers   BMC,






What is 'inode'?

11 Answers   Infosys,


How many VI editor modes do you know?

8 Answers   Infosys,


What is the main advantage of creating links to a file instead of copies of the file?

5 Answers   Cisco, ING,


In this command sqlplus -s username/password what is -S and what's the use..???

1 Answers   TCS,


what is RAID 1+0?

2 Answers  


What are Profilers?

1 Answers   Axis Technologies,


If Media Server fails. What are the steps to be followed? Can anyone please reply for this question Thanks, Ganesh

0 Answers   HCL, IBM,


Categories