Lesson 8: Copying and Moving — cp and mv
Two everyday actions: copy a file (the original stays) and move or rename it (the original leaves its old spot). `cp` copies, `mv` moves. The difference is small but critical.
cp is photocopying a document — you now have two. mv is taking the document to another cabinet — there's only one.
- cp
- A command that copies a file; the original stays
- mv
- A command that moves or renames a file; the original leaves its old spot
- Rename
- mv into the same folder with a new name = a rename