Explain linux file types

Answer Posted / sai ganesh

1. Regular File

-rw-r–-r-– 1 root root 22 Oct 6 15:33 install.log

2. Directory File

drwx------ 2 root root 4096 Oct 6 15:33 test1

3. Block File

brw------- 2 root disk 41, 0 May 5 1998 root

4. Character File

crw------ 2 root root 5, 0 May 5 1998 rawctl

5. Socket File

srw-rw-rw- 2 root root 4096 Oct 6 15:33 log

6. Link File

lrwxrwxrwx 2 root root 4096 Oct 6 15:40 mail -> spool/mail

7. Pipe File (the pipe file and Door file comes in printer configuration)
8. Door File

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is $1 in linux?

437


How do you refer to the parallel port where devices such as printers are connected?

573


What happens when mutex is locked?

467


What is the difference between cron and anacron?

536


What are different types of semaphores?

469






What is scripting in linux?

446


What are the contents in /usr/local?

519


How many types of shells are there in linux?

411


How would you schedule a task in linux?

434


Which of the quoting or escape characters allows the dollar sign ($) to retain its special meaning?

498


Compare cron and anacron in linux with an example?

459


What is linux mint used for?

435


What is a semaphore c?

482


How many types of bond are there in linux?

431


How would you search for a specific employee id in a file using the vim editor?

881