Files Symbol | File Type |
– | Regular file |
d | Directory |
d | Block device |
I | Link |
C | Device File |
S | Socket |
P | FiFO or Named Pipe |
S Socket
Special file to enable Communications between two processes.
Find under /run/
Example: /run/chrony/chronyd.sock

p Fifo OR Named-pipe
send data from one process to another so that the receiving process reads the data first-in-first-out manner.
can be created using mkfifo
command.

b block device file
Afile that refers to a device.
Find under /dev/
Example: /dev/sda1

fdisk -l

C character device file
We can create using mknod command.
These file are present in /dev folder file that reads/writes data in character by character .
Example: /dev/input/mouse2