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

What do know about tee command and its usage?

603


How does shebang work?

600


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

699


What is grep short for?

568


What is grep command in unix with examples?

616






What does the md command do?

580


How do I run a bash script?

590


Differentiate cmp command from diff command.

598


Who command in unix operating system?

669


Write a command to kill the last background job?

628


What does this command do? Cat food 1 > kitty

984


What is “chmod” command?

574


How do you grep recursively?

566


Which command is used to create a directory?

582


What is the command to compare two files in unix?

630