File types in Linux
File type |
Symbol |
File type |
Symbol |
Normal file |
- |
Local domain set interface |
S |
Directory |
D |
Famous pipes |
P |
Character device |
C |
Symbolic connection |
L |
Block device files |
B |
|
|
Linux uses device files to identify a particular hardware device.
There are two types of device files in Linux: Character device files and block device files.
A character device is a device that can read a sequence of characters from it, such as a tape and a serial line;
A block device is a device used to store data and provide equal access to parts of its content. such as disks.
and character devices are sometimes referred to as sequential access devices, and block devices are sometimes referred to as random access devices.
Both the local domain set interface and the well-known pipeline are related to interprocess communication.
Symbolic links are a bit like shortcuts in Windows, where users can access another file via aliases.
File types in Linux