There are several file types in linux

王林
Release: 2020-01-11 16:14:35
Original
5359 people have browsed it

There are several file types in linux

1. Ordinary files (data files)

Identification: - Ordinary files are files used to store data, programs and other information. Generally, they are stored in external memory (disk) for a long time. Ordinary files are divided into text files and binary files.

2. Directory file

Identification: d. A directory file is a file composed of directory entries contained in a directory in the file system.

(Free learning video tutorial sharing:linux video tutorial)

3. Device file

Block device: identification: b

Character device: identification: c

The device file is a file used to provide a connection between the operating system and the device. In Linux systems, devices are treated as files, and operating devices is just like operating ordinary files. Each device corresponds to a device file, which is stored in the /dev directory.

4. Link file

Identification: l, similar to the shortcut under windows, links can be divided into soft links (symbolic links) and hard links.

5. Pipe file

Identification: p, Pipe file is a special file mainly used to transfer data between processes.

6. Socket file

Identification: s, a special file mainly used for network communication between different computers.

Recommended related articles and tutorials:linux tutorial

The above is the detailed content of There are several file types in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!