[pappy@chmodx]:$ man mv

$ mv

Move or rename files and directories

DOCUMENTEDFiles & directoriesUbuntu 24.04 LTS baseline

Synopsis

mv [OPTION]... SOURCE... DIRECTORY

What it does

Examples

Rename a file
mv old.txt new.txt
Move a file
mv report.txt documents/
Move several files into a directory
mv *.log logs/

Important details

These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration. For exact option semantics, the linked authoritative documentation is the source of truth.