mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 18:06:02 +02:00
Adds some examples for ln
Hopefully this will help people remember if the source is the first or second argument
This commit is contained in:
parent
06ee4048bb
commit
6b6772f9d5
1 changed files with 11 additions and 0 deletions
11
common/ln.md
Normal file
11
common/ln.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# 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}}`
|
||||||
|
|
||||||
|
- create a hard link to a file or folder
|
||||||
|
|
||||||
|
`ln {{path/to/original/file}} {{path/to/link}}`
|
Loading…
Add table
Reference in a new issue