Home > Article > Operation and Maintenance > linux..what is the directory
linux ..What is the directory?
In Linux, ".." represents the upper-level directory, which can also be represented by "../";
Recommendation: "Linux Tutorial》
Related introduction:
In the Linux system, all files and directories start from the root directory /, and those that do not start with / are relative paths;
"." represents the current directory, which can also be represented by "./";
"~" represents the user's own host directory;
"/" is in the Linux file system tree The top of the structure, we call it the root of the Linux file system, which is the entrance to the Linux file system.
All directories, files, and devices are under /, which is the only directory at the top of the Linux file system;
It is generally recommended that there be only directories under the root directory, and do not store files directly. ;The root directory is the first partition loaded by the system when the Linux system starts, so all files used during the startup process should be placed in this partition.
The five subdirectories of /etc, /bin, /dev, /lib, and /sbin should be connected to the root directory and cannot become an independent partition.
The above is the detailed content of linux..what is the directory. For more information, please follow other related articles on the PHP Chinese website!