1.Linux file system is a typical tree structure with only one root node
Such as:
2. All files in Linux
Linux pairs of data Files (. mp3,. bmp), Program Files (. c,. h, *.O), device files (LCD, touch screen, mouse), network files (sockets) and other management are abstracted as files, using a unified approach to management.
File Classification:
1) Ordinary files (data files)
ordinary files are files used for storing information such as data, programs, etc., which are generally stored in external memory (disk) for a long time. Ordinary files are also divided into text files and binary files.
2) Catalog file
A catalog file is a file that consists of directory entries in a directory in a file system.
3) device files
A device file is a file that is used to provide connectivity to the operating system and the device. In a Linux system, the device is treated as a file, and the device is manipulated as if it were a normal file. Each device corresponds to a device file, which is stored in the/dev directory.
5) linked files
like shortcuts under Windows, links can be broken down into soft links (symbolic links) and hard links.
6) Piping Files
pipeline files are primarily used to transfer data between processes in a special file.
7) Set of interface files
It is mainly used for a special file of network communication between different computers.
introduction of 3.Linux Important catalogue
4 focus on some of these directories
Familiarity with the Linux file structure is important, especially for beginners of Linux
Introduction to the Linux file system