Symbolic link

From James's Wiki
Revision as of 19:06, 10 February 2018 by Ractive (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


To create a new symlink (will fail if symlink exists already):

ln -s /path/to/file /path/to/symlink

To create or update a symlink:

ln -sf /path/to/file /path/to/symlink

hard link: ln /path/to/file /path/to/link