Home > System Tutorial > LINUX > 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
Release: 2024-01-07 18:15:01
forward
763 people have browsed it

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!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template