mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
cp: add Chinese translation (#8133)
This commit is contained in:
parent
944c6daeb7
commit
70b1ad7e23
1 changed files with 16 additions and 0 deletions
16
pages.zh/common/ln.md
Normal file
16
pages.zh/common/ln.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# ln
|
||||||
|
|
||||||
|
> 创建指向文件和目录的链接。
|
||||||
|
> 更多信息:<https://www.gnu.org/software/coreutils/ln>.
|
||||||
|
|
||||||
|
- 创建指向文件或目录的符号链接:
|
||||||
|
|
||||||
|
`ln -s {{/路径/到/文件或目录}} {{路径/到/符号链接}}`
|
||||||
|
|
||||||
|
- 覆盖现有的符号链接以指向其他文件:
|
||||||
|
|
||||||
|
`ln -sf {{/路径/到/新文件}} {{路径/到/符号链接}}`
|
||||||
|
|
||||||
|
- 创建文件的硬链接:
|
||||||
|
|
||||||
|
`ln {{/路径/到/文件}} {{路径/到/硬链接}}`
|
Loading…
Add table
Reference in a new issue