Actions

Difference between revisions of "Create a Symlink"

From InfoTechPedia

(new page)
(No difference)

Revision as of 17:51, 25 February 2018

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