thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

IT Support & Hardware · Foundational

mv Command

A Linux/macOS command that moves or renames files and directories.

Definition

mv source dest moves a file, and moving within the same directory renames it. mv -i prompts before overwriting. Windows equivalents are move and ren.

Example

mv report.txt report-2026.txt

Exam tip

Linux has no separate rename command for simple renames; use mv.

Related terms