symbolic link

A special file that points to another path, so opening the link opens the file it names.

In more detail

The link stores only the target path, so it breaks if the target moves, and it can point to a directory or to another filesystem. ls -l shows links with an arrow to their target.

Examples

ls -l /bin/sh  # on Debian: /bin/sh -> dash
ln -s /opt/tool/bin/tool ~/bin/tool

Related terms

Taught in

References

Certification courses