File types for UNIX systems

Source: Internet
Author: User
  1. Normal file (regular files). This is the most commonly used file type, which contains some form of data. As to whether this data is text or binary data, there is no difference in the Unix kernel. The interpretation of ordinary file content is done by the application that processes the file.

  2. Catalog file (directory files). This file contains the names of other files and pointers to information about those files. Any process that has read access to a directory file can read the contents of the directory, but only the kernel can write the directory file directly. The process must use the appropriate function to change the directory.

  3. Block special files (blocks special file). This type of file provides buffered access to devices such as disks, with each access in fixed-length units.

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

  5. Fifo. This type of file is used for interprocess communication, sometimes referred to as a named pipe (named pipe).

  6. Socket (socket). This type of file is used for inter-process network communication. Sockets can also be used for non-network communication between processes on a single host.

  7. Symbolic links (symbolic link). This type of file points to another file.

File types for UNIX systems

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.