1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 13:55:23 +02:00

add a separate example for overwriting a symlink

to make it clear what the -T option does,
as discussed in #180
This commit is contained in:
Waldir Pimenta 2015-03-15 11:40:20 +00:00
parent 2bfc2e3a08
commit 0d0180c172

View file

@ -6,9 +6,13 @@
`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
`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