tldr/pages/common/link.md

306 B

link

Create a hard link to an existing file. For more options, see the ln command. More information: https://www.gnu.org/software/coreutils/manual/html_node/link-invocation.html.

  • Create a hard link from a new file to an existing file:

link {{path/to/existing_file}} {{path/to/new_file}}