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

differentiate between named & unnamed pipe.

11 Answers   Cisco, IIT, ISEC,


in unix profile contains

1 Answers   BFL,


What is a Map?

0 Answers  


What does iostat do?

4 Answers   IBM,


how can we create the script in crontab at mid night on sunday,satuarday,fiday 0n monyh october,november,january? please give me answer if anybody knows ? because on important purpose.

2 Answers  


Why do inode number start from 1 and not 0 ?

3 Answers  


how to create a file system quota in HP-UX?

1 Answers   HCL,


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

1 Answers   TCS,


HOW DO CREATE A NFS FILE SYSTEM

4 Answers   Mind Tree,


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

1 Answers  


What is mean by Mac os? Why it is named as like that? Which purprose it is using? Please answer me. Advance thanks.

2 Answers   Excel, GeniusPort,


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

1 Answers   Qiscet,


Categories