Home > Operation and Maintenance > Linux Operation and Maintenance > What is the structure of linux file system

What is the structure of linux file system

PHPz
Release: 2023-05-20 20:28:04
forward
2452 people have browsed it

Introduction to linux file system structure:

1. The file system of Linux refers to the physical space where files are stored, similar to the disk in Windows,

They can all be hierarchical and hierarchical to form directories, which are equivalent to the folder structures in Windows systems.

2. Each file has its own

exclusive name, and it is unique to help users find it.

3. In Linux, we search for files by

index node, just like the Windows path,

It contains a variety of information such as the file's name, creation time, length, ownership, etc., and is as unique as the file.

4. File naming must comply with the following rules:

All characters except "/" can be used;

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

Avoid using " ", " - " or " . " as the first character of an ordinary file name (files starting with " . " under Linux are hidden files);

File names in Linux systems are case-sensitive.

5. Wildcard characters under Linux system (20)

(Use them to name and index files)

*: Wildcard, representing any character (0 to more)

?: wildcard, representing a character

#: Comment

\: Escape symbol, convert special characters or wildcard characters into general symbols

|: Definition of splitting two pipeline commands

;: Definition of continuity command

~: User’s root directory

$: The variable value that needs to be added before the variable

!: "Not" in logical operations

/: path delimiter symbol

> : Output guide, respectively "replacement" and "accumulation"

>>: Output guide, respectively "replacement" and "accumulation"

': Does not have variable substitution function

": With variable substitution function

`: quote symbol, the middle of the two ` is the instruction that can be executed first

(): The middle is the start and end of the subshell

[]: The middle is the character combination

{}: The middle is the command block combination

&&: When the previous instruction of this symbol is executed successfully, the next instruction

will be executed. ||: When the previous command of this symbol fails to execute, the next command will be executed

What is the structure of linux file system

What versions of Linux are there?

The versions of Linux are: Deepin, UbuntuKylin , Manjaro, LinuxMint, Ubuntu and other versions. Among them, Deepin is one of the best-developed Linux distributions in China; Ubuntu Kylin 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 is simple and easy to use; Ubuntu is a desktop application Mainly Linux operating system.

The above is the detailed content of What is the structure of linux file system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template