Skip to content

Glossary: Command Line and Git

cp

Also written: copy

Copies a file to a new name or into a folder. Add `-r` to copy a folder; it overwrites without asking unless you use `-i`.

Where the book teaches it

Related terms

mvrm