Skip to content
masterclass Buddy

Linux & Shell · Command

mv

mv moves or renames files, directories, and symbolic links. It can also control overwrites, backups, updates, and output.

Last updated

Syntax

mv [OPTION]... [-T] SOURCE DEST
mv [OPTION]... SOURCE ... DIRECTORY
mv [OPTION]... -t DIRECTORY SOURCE ...

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • rename(2)
  • git-mv(1)
  • cp(1p)
  • ln(1p)

Source: mv(1) - Linux manual page. Checked 2026-11-03.