Skip to content

Commit b9c532e

Browse files
authored
ln: add relative example (#19773)
1 parent f188ba2 commit b9c532e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pages/common/ln.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
`ln {{[-s|--symbolic]}} /{{path/to/file_or_directory}} {{path/to/symlink}}`
99

10+
- Create a symbolic link relative to where the link is located:
11+
12+
`ln {{[-s|--symbolic]}} {{path/to/file_or_directory}} {{path/to/symlink}}`
13+
1014
- Overwrite an existing symbolic link to point to a different file:
1115

1216
`ln {{[-sf|--symbolic --force]}} /{{path/to/new_file}} {{path/to/symlink}}`

0 commit comments

Comments
 (0)