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

interprocess command in unix be achieved by a)pipes b)messages c)semaphores d)shared memory e)all

2 Answers   Mascot,

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

1 Answers  

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

1 Answers   TCS,

What is major difference between the Historic Unix and the new BSD release of Unix System V in terms of Memory Management?

1 Answers  

How to put a job in background & bring it to foreground?

3 Answers  

What steps are required to perform a bare-metal recovery?

1 Answers  

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  

What is an incremental backup?

2 Answers  

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

0 Answers  

What is file constructing in UNIX/AIX ?

2 Answers   TCS, IBM,

Am using Mac OS 10.4.11 on an Imac (PPC) Internal hard disk got named disk0s3 and will not mount. What commands can be used in TERMINAL to rename the internal hard disk to C96?

0 Answers