Hard Links / Soft Links

From Dikapedia
Jump to: navigation, search

There are two types of links:

  • symbolic links (also known as “soft links” or “symlinks”): Refer to a symbolic path indicating the abstract location of another file.
  • hard links: Refer to the specific location of physical data.


Soft Links


How to: Linux / UNIX create soft link with ln command
https://www.cyberciti.biz/faq/creating-soft-link-or-symbolic-link/


How to create soft link / symbolic link

Soft links are created with the ln command. For example, the following would create a soft link named link1 to a file named file1, both in the current directory.

$ ln -s file1 link1