Hard Links / Soft Links

From DikapediaV2
Revision as of 00:20, 27 August 2024 by Ardika Sulistija (talk | contribs) (Created page with "There are two types of links: * <b>symbolic links</b> (also known as “<b>soft links</b>” or “<b>symlinks</b>”): Refer to a symbolic path indicating the abstract location of another file. * <b>hard links</b>: Refer to the specific location of physical data. ====Soft Links==== ---- <b>How to: Linux / UNIX create soft link with ln command</b></br> https://www.cyberciti.biz/faq/creating-soft-link-or-symbolic-link/ =====<u>How to c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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