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

Why do inode number start from 1 and not 0 ?

3 Answers  

What is mutex?

2 Answers   BMC,

what is mean by kernal?

9 Answers   Excel,

If your linux machine shows a ~(tilde) in most filenames on your dos or windows partition,what is the mistake you have made?How do you get back the long filenames?

2 Answers  

what is RAID 1+0?

2 Answers  

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

1 Answers   Wipro,

What is default permissions for others in a file?

5 Answers  

which is the best book for learning unix and linux?

6 Answers  

why unix command can be divided into internal and external command

1 Answers   IBM,

From command line how will you add a user account?

2 Answers  

how can you say that unix operating system provides more security than other operating systems.

1 Answers  

what is the name os the first os and tell me the year when it was discovered

1 Answers   Qiscet,