cmd/ln
Jump to navigation
Jump to search
ln
is the Linux command for creating a link to a file or folder.
To create a relative link:
ln -r --symbolic ./<existing file> <name for link>
Relative links will still work even if the folder containing both files (the original and the link) is moved or copied.