File System Structure
1. system structure the Linux File is an inverted single tree structure. the root of the file system is "/". file systems are case sensitive. the path is separated by "/", and ipvs is "\".
2. Each shell or system process in the current working directory has a pwd command to display the current working directory.
3. File Name the file name can contain a maximum of 255 characters, except the forward slash (+). It is a valid character. You can use the touch command to create a blank file or update an existing file ". "The file starting with" is a hidden file.
4. List contents in the current directory ----- ls-a: show all objects, including hidden objects-l: Show Details-R: recursively show subdirectories-ld: List directories and links
5. View file + <file Name> View file Type
6. absolute path and relative path absolute path: the path starting with "/", recursively returning each level of directory to the target path, not limited by the current working directory. Relative Path: The Path to the target starting from the current directory, which is restricted by the current working directory.
7. Switch the directory ----- cd "..." to the upper-level directory "." To the current directory "~" A working directory in the user's home directory "-"
The root user's add directory is "/" cd. Press enter to return to the user's home directory.
This command
Pwd displays the current working directory touch creates a blank file playing a more line of existing files time ls lists the content in the current directory file View file Type cd switch directory