how many types of file in unix?

Answer Posted / manish

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 ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chmod command do?

810


How do you grep a case insensitive?

734


What is sed awk grep?

822


Which command is used to create a directory?

777


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

843


What are the unix commands?

751


What is {} in find command?

781


What is the use of find command in unix?

765


What is grep command in unix with examples?

834


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

812


Explain command to view process running?

809


What does touch command do in unix?

977


What do chown command do?

792


How does the system know where one command ends and another begins?

1864


Why is it called a shebang?

796