how many types of file in unix?

Answer Posted / jagadeeb choudhury

7 types files are there.

1. Regular file:(-):contains data in either text format or
binary format

2. Directory file:(d):It contains the name and location of
all files stored on a physical device.

3. FIFO file:(f):2 communicate betn 2 processes running on
same system

4. Block special file:(b):Its a physical device such as a
disk, that reads or write data a block at a time.

5. Sybolic file:(l):its a link or pointer to already
existing file

6. Socket file:(s):Is a special file that is used for
network communication.

7. Character special file:(c):A physical device such as
terminal that reads or write one character at a time.

Ex-
stdin, stdout, stderr


Thanks,
Jagadeeb@gmail.com

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is awk called awk?

780


What is the nmap command?

812


Explain command to view process running?

816


What is s and g in sed command?

801


Which command is used to copy files?

819


Why is it called a shebang?

800


What does this command do,"$more readme.txt“?

871


What is ctrl d?

813


What are the commands in UNIX to list the files in a Directory?

821


Which command is used to find whether the system is 32 bit or 64 bit?

839


What is grep r?

793


How do I use nslookup?

769


What does the md command do?

776


Explain the steps that a shell follows while processing a command.

919


What are the unix commands?

751