ln: convert paths to absolute

This commit is contained in:
marchersimon
2021-06-02 21:55:26 +00:00
committed by marchersimon
parent c9d70c3f18
commit 0deb4d0597
3 changed files with 9 additions and 9 deletions

View File

@@ -5,12 +5,12 @@
- Create a symbolic link to a file or directory:
`ln -s {{path/to/file_or_directory}} {{path/to/symlink}}`
`ln -s {{/path/to/file_or_directory}} {{path/to/symlink}}`
- Overwrite an existing symbolic link to point to a different file:
`ln -sf {{path/to/new_file}} {{path/to/symlink}}`
`ln -sf {{/path/to/new_file}} {{path/to/symlink}}`
- Create a hard link to a file:
`ln {{path/to/file}} {{path/to/hardlink}}`
`ln {{/path/to/file}} {{path/to/hardlink}}`