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 does iostat do?

4 Answers   IBM,


Is this the command to connect oracle from unix? sqlplus -s username/password. Then what is the -S here...????

1 Answers   TCS,


What is the difference between Swapping and Paging?

4 Answers   IBM,


What is a pipe?

18 Answers   Fichtner,


How to list only the directories inside a directory?

4 Answers  






Give the command to display space usage on the UNIX file system.

6 Answers  


What are the read or write or execute bits on a directory mean?

2 Answers  


what is difference between milestone and run-levels in Solaris ?

0 Answers  


What are the mount and unmount system calls?

1 Answers   HCL,


What does init do? What does inetd do?

1 Answers  


How can u doing testing in Unix environment ?

2 Answers   TCS,


I am trying to unmount a remote file system,but I do not unmount that file system.How can i know the user name (i.e.,user who is using that file system).....write the command with argument

2 Answers  


Categories