Traditional Culture Encyclopedia - Traditional festivals - Introduction to the file system structure of linux
Introduction to the file system structure of linux
linux file system structure:
1, linux file system refers to the physical space for storing files, similar to Windows disks,
They can be hierarchical hierarchies, forming a directory, equivalent to a folder structure in Windows.
2. Each of these files has its own exclusive name and is unique, helping users to find it.
3, in linux, we search for files by means of index nodes, which are like Windows paths,
which contain information such as the name of the file, when it was created, how long it is, where it belongs to, etc., and are as unique as the file.
4, the file must be named to comply with the following rules:
In addition to "/", all characters can be used;
The best way to not use the escape character, such as "?" , "*" (asterisk), "" (space), "$", "", etc.
Avoid "+", "-" or "". " or "." as the first character of a normal filename (under Linux files beginning with "." files that begin with "." are hidden files);
Linux is case-sensitive for filenames.
5. Wildcards in Linux (20)
(Use them to name and index files)
*: wildcard character, representing any character (0 to many)
: wildcard character, representing a single character#: comment
\\: escape symbols : the "not" in logical operations
/ : the path splitter symbol
: output-oriented, respectively "replace" and "accumulate"
: Output-oriented, "replace" and "accumulate" respectively
': no variable substitution
": variable substitution
`: quote symbol, two `'s in the middle of the first executable Command
(): start and end of subshell in the middle
[]: combination of characters in the middle
{}: combination of command blocks in the middle
: execute the next command when the previous command of this symbol succeeds
||: execute the next command when the previous command of this symbol fails
- Related articles
- The husband is oppressed by the concept of "carrying on the family line". How can life be normal under his oppression?
- What are the three major toy production bases in China?
- Tonya's girl group dance debut, how do you rate her girl group look?
- What influence did Zhang Yunlei bring to the phonograph industry?
- I once heard a poem "Song of Water", it's very early, please ask for the whole piece.
- How many derbies are there in the four leagues
- Analysis on the Educational Background of Beida Jade Bird Campus
- What are the advantages of learning Chinese studies?
- Understanding of current traditional majors
- Briefing on caring for the disabled