The most obvious and understandable Linux hard link and soft link understanding

Source: Internet
Author: User

Body:

Understanding the premise: the file on Linux can be understood as follows: File-"file name, a file can have multiple file names."

In this way, a hard link can be seen as multiple file names, and a soft link can be viewed as a link to one of the filenames, equivalent to a shortcut to Windows.

Therefore, the deletion of all file names will not be able to access the file, that is, delete the file, delete the soft link file name, soft link is not used, but through other file names, files can also be accessed.

PostScript: The above is my understanding of hard links and soft links ideas, if there is a similar, purely coincidental, if there are errors please correct me, I just Linux beginners, only focus on the understanding can understand them, if wrong please correct me. As to whether it is the most obvious and understandable, just do one back to the title party. There is also a better understanding, just what I have not seen. Before seeing the article, on this concept, incredibly have explained more than 1000 words, seems to be in order to make up the words of composition.

Windows does not seem to support multiple names for a file. Or is there another way to do it? To be verified.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.