ln Command Examples

Create links to files and directories. More information: https://www.gnu.org/software/coreutils/manual/html_node/ln-invocation.html.

ln -s {{/path/to/file_or_directory}} {{path/to/symlink}}

ln -sf {{/path/to/new_file}} {{path/to/symlink}}

ln {{/path/to/file}} {{path/to/hardlink}}