🧀 Learn Linux

Commonly used · Organize files

mv:Move or rename

Put in free practice

Syntax

mv [-f] source… target

Options

-f
Overwrite normal file

Examples

mv projects/notes.txt projects/meeting.txt

Usage and sandbox support

Within the same file system, renaming usually does not require copying data.

Hands-on exercises

Full documentation ↗

Related commands