UX Design and Development course

What is a symbolic link?

In computing, a symbolic link (also symlink or soft link) is a special type of file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution.


The following will create a symbolic link using the command-line interface:

$ ln -s target_path link_path

Use the target_path argument as the relative or absolute path the symbolic link will point. Usually the target will exist, although it is possible to create a symbolic link to a non-existent target. The link_path is the path of the symbolic link itself.