mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 19:01:35 +03:00
16 lines
331 B
Markdown
16 lines
331 B
Markdown
# ln
|
|
|
|
> Creates links to files and folders
|
|
|
|
- create a symbolic link to a file or folder
|
|
|
|
`ln -s {{path/to/original/file}} {{path/to/link}}`
|
|
|
|
- overwrite a symbolic link to a folder
|
|
|
|
`ln -sfT {{path/to/new/original/file}} {{path/to/link}}`
|
|
|
|
- create a hard link to a file or folder
|
|
|
|
`ln {{path/to/original/file}} {{path/to/link}}`
|