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 name os the first os and tell me the year when it was discovered

1 Answers   Qiscet,

What is the difference between > and >> operators?

6 Answers  

which is the best book for learning unix and linux?

6 Answers  

What is the difference between a soft link and a hard link?

1 Answers  

What are the events done by the Kernel after a process is being swapped out from the main memory?

0 Answers  

What is a Region?

1 Answers  

why do you need to have a swap file system?

1 Answers  

What is a Map?

0 Answers  

What do you mean by u-area (user area) or u-block?

6 Answers  

What is the difference between windows environment and Unix environment ?

8 Answers   Oracle,

What are the mount and unmount system calls?

1 Answers   HCL,

What is the difference between Swapping and Paging?

4 Answers   IBM,