how many types of file in unix?

Answer Posted / sahoo.sasmita

total 7 files are there.

1. Regular file:(-):contains data in either text format or
binary format
2. Directory file:(d):contains entries of files
3. FIFO file:(f):2 communicate betn 2 processes running on
same system
4. Block special file:(b):name given 2 special blocks of
hard disk
5. Sybolic file:(l):its a link or pointer to already
existing file
6. Socket file:(s):2 communicate betn 2 processes running on
different system in a network
7. Character special file:(c):handles only characted
formatted data
eg.stdin, stdout, stderr

Is This Answer Correct ?    50 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the tee command?

602


What is the use of awk command in unix?

581


How do I use nslookup?

577


What does #!/ Bin sh do?

595


What are the differences among a system call, a library function, and a unix command?

568






What do chmod command do?

606


What are bash commands?

597


What is the comma to display different lines that are found when compare two files?

595


What happens when we execute a unix command?

600


What is difference between grep and find command in unix?

581


Write a command that will display files in the current directory, in a colored, long format.

688


How do I use grep to find a file?

583


What does pipe () return?

597


Which unix command to make a new directory?

592


What does 'mkdir' command do in UNIX?

660