Course connection: Linux file system basic structure file system structure 1. system structure Linux file is an inverted single tree structure file system root is & ldquo; & quot
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 types
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