mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:55:34 +02:00
updated cp.md
This commit is contained in:
parent
bbbc288b4c
commit
330f47a2b5
1 changed files with 3 additions and 3 deletions
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
> Copies a file
|
> Copies a file
|
||||||
|
|
||||||
- make a duplicate in the same directory
|
- copy files in arbitrary locations
|
||||||
|
|
||||||
`cp {{filename}} {{new_filename}}`
|
`cp {{/path/to/original}} {{/path/to/copy}}`
|
||||||
|
|
||||||
- copy a file to a parent directory
|
- copy a file to a parent directory
|
||||||
|
|
||||||
`cp {{filename}} /{{new_filename}}`
|
`cp {{/path/to/original}} /{{/path/to/copy}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue