mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Merge pull request #271 from waldyrious/patch-1
add a separate example for overwriting a symlink
This commit is contained in:
commit
3b1e178501
1 changed files with 5 additions and 1 deletions
|
@ -6,9 +6,13 @@
|
||||||
|
|
||||||
`ln -s {{path/to/original/file}} {{path/to/link}}`
|
`ln -s {{path/to/original/file}} {{path/to/link}}`
|
||||||
|
|
||||||
|
- overwrite a symbolic link to a file
|
||||||
|
|
||||||
|
`ln -sf {{path/to/new/original/file}} {{path/to/file/link}}`
|
||||||
|
|
||||||
- overwrite a symbolic link to a folder
|
- overwrite a symbolic link to a folder
|
||||||
|
|
||||||
`ln -sfT {{path/to/new/original/file}} {{path/to/link}}`
|
`ln -sfT {{path/to/new/original/file}} {{path/to/folder/link}}`
|
||||||
|
|
||||||
- create a hard link to a file or folder
|
- create a hard link to a file or folder
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue