Actions

Create a Symlink

From InfoTechPedia

Revision as of 17:51, 25 February 2018 by TomHutchison (talk | contribs) (new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

admin@server:~$ ln -s /path/to/file /path/to/symlink

To create or update a symlink:

admin@server:~$ ln -sf /path/to/file /path/to/symlink