Files
cheatsheet-tldr/tldr/link
2025-01-19 00:18:40 +00:00

15 lines
399 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`