Copy, Move and Rename: cp and mv

mv moves a file into another folder or gives it a new name, cp makes a copy and leaves the original where it was, cp -r copies a whole folder, and -i or -n stop either one from replacing a file by surprise.

Updated

Cheat sheet for the lesson Copy, Move and Rename: cp and mv: mv moves a file into another folder or gives it a new name, cp makes a copy and leaves the original where it was, cp -r copies a whole folder, and -i or -n stop either one from replacing a file by surprise.
Category
Bash
Level
Novice
Tags
cp, linux, mv, unix