# Moving

Moving: Copy, Move and Rename: cp and mv.

Updated: November 10, 2026

1. [Copy, Move and Rename: cp and mv](https://www.ask-codey.com/lessons/bash-copy-move-rename) (Novice): 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.

Source: https://www.ask-codey.com/courses/bash-in-depth/topics/bash-moving
