How to understand the meaning of the number of hard links in LINUX? Today we will introduce it in detail.
1. Open the LINUX operating system and use UBUNTU.
2. Find the terminal window on the left taskbar and open it.
3. Change to Desktop Directory, and then view the specific information of the files and directories. Pay attention to this column of numbers.
4. For example, new.txt, there is only one hard link, which is the absolute path.
5. The new directory has 4 hard link directories. First, you can use CD to transfer to the directory .
6. If you are under this directory, you can also use cd . to return to the original directory.
7. In order to clearly understand more hard links, use tree to view.
8. Because there are other directories under the same directory, it is also possible to go to the new directory in other directories, so there are 4 of them.
The above is the detailed content of How does LINUX understand the meaning of the number of hard links?. For more information, please follow other related articles on the PHP Chinese website!