Home  >  Article  >  System Tutorial  >  How does LINUX understand the meaning of the number of hard links?

How does LINUX understand the meaning of the number of hard links?

PHPz
PHPzforward
2024-01-07 18:15:01724browse

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.

How does LINUX understand the meaning of the number of hard links?

2. Find the terminal window on the left taskbar and open it.

How does LINUX understand the meaning of the number of hard links?

3. Change to Desktop Directory, and then view the specific information of the files and directories. Pay attention to this column of numbers.

How does LINUX understand the meaning of the number of hard links?

How does LINUX understand the meaning of the number of hard links?

4. For example, new.txt, there is only one hard link, which is the absolute path.

How does LINUX understand the meaning of the number of hard links?

5. The new directory has 4 hard link directories. First, you can use CD to transfer to the directory .

How does LINUX understand the meaning of the number of hard links?

6. If you are under this directory, you can also use cd . to return to the original directory.

How does LINUX understand the meaning of the number of hard links?

7. In order to clearly understand more hard links, use tree to view.

How does LINUX understand the meaning of the number of hard links?

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.

How does LINUX understand the meaning of the number of hard links?

How does LINUX understand the meaning of the number of hard links?

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!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete