File types in Linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.