Symbolic links

Symbolic and hard links, being one of the features of the Linux OS, allow you to access the same file from different places in the file system. In Windows, the analog is shortcuts.

Kinds:

  • Symbolic links contain the address of a file in the file system. The point is that when the target file is deleted, such links will remain and point in the wrong place.
  • Hard links contain the address of the physical location of the target file. Therefore, when you move the file, the links continue to work.

heart 0
3 connected dots 0