What is the linux file system structure?

11-08-2023

Brief introduction of linux file system structure: 1. linux file system refers to the physical space for storing files, similar to the disk in Windows.

They can all be hierarchical and form a directory, which is equivalent to a folder structure in Windows system.

2. Each file has its own unique name, which helps users to find it.

3. In linux, we search files by index nodes, just like the path of Windows.

It contains a variety of information such as the name, creation time, length, and affiliation of the file, and it is as unique as the file.

4, file name must comply with the following rules:

All characters can be used except/;

It is best not to use escape characters, such as? , "*" (asterisk), ""(space), $,&etc.

Avoid using+,-or. as the first character of a common file name (files starting with. are hidden files under Linux);

The file name of Linux system is case-sensitive.

5. Wildcards under Linux system (20)

(Use them to name and index files)

*: Wildcard, representing any character (0 to many).

? : Wildcard, representing a character.

#: Notes

: escape symbol, which restores special characters or wildcards to general symbols.

|: Definition of command to split two pipelines

; : Definition of continuous orders

~: user's root directory

$: the variable value to be added before the variable.

! : Not in logical operation

/:path division symbol

>: output-oriented, namely substitution and accumulation.

> >: output-oriented, namely substitution and accumulation.

: does not have variable replacement function.

":It has the function of variable replacement.

`: quote symbol, with the instruction that can be executed first in the middle of two`.

(): The middle is the beginning and end of the subshell.

What versions of Linux are there? The versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Deepin is one of the best developed Linux distributions in China. UbuntuKylin is a derivative distribution based on Ubuntu; Manjaro is a Linux distribution based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP and easy to use. Ubuntu is a Linux operating system based on desktop applications.

Copyright Description:No reproduction without permission。

Knowledge sharing community for developers。

Let more developers benefit from it。

Help developers share knowledge through the Internet。

Follow us