tty.help
Appearance

Display preferences are saved in this browser.

mvMove or rename

Move a file or rename it within a directory.

Label
Changes files
Edited
2026-11-07
References
1 official

Example

mv ./draft.txt ./final.txt
  1. mvCommand nameAliases, shell functions, wrappers and PATH can change which program runs.
  2. ./draft.txt ./final.txtArgumentsFlags and operands as written. Quoting and expansion can change them before the program starts.
Illustrative syntax only. Do not run this without confirming the target and environment.

Things to check

An existing destination can be replaced. Moving across filesystems may involve copying and removing the original.

Before you run it

Check both paths and whether the destination already exists.

Ask your agent

“Explain the entire command, including every flag and operator. What exact files, services or permissions could it affect, and how will we verify the result?”

Context is part of the command

A command name alone cannot determine safety. Aliases, shell functions, expansions, flags, permissions and working directory can change its behavior.

Explore a full command