File Types of UNIX systems

Source: Internet
Author: User

File Types of UNIX systems
Regular file ). This is the most common file type, which contains some form of data. As for whether the data is text or binary data, there is no difference in the UNIX kernel. The content of a common file is interpreted by the application that processes the file.

Directory file ). This file contains the names of other files and pointers to information related to these files. Any process that has read permission on a directory file can read the content of the directory, but only the kernel can directly write the directory file. The process must use the corresponding function to change the directory.

Block special file ). This type of file provides buffer-based access to devices (such as disks). Each access is performed in a fixed length unit.

Character special file ). This type of file provides access to the device without buffering. The length of each access is variable. All devices in the system are either special character files or block special files.

FIFO. This type of file is used for inter-process communication, also known as the named pipe (named pipe ).

Socket ). This type of file is used for network communication between processes. A socket can also be used for non-network communication between processes on a host.

Symbolic link ). This type of file points to another file.

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.