MV(1)

NAME
mv - move or rename a file

SYNOPSIS
mv [-ifsmvx] file1 file2
mv [-ifsvx] file ... directory

OPTIONS

EXAMPLES

DESCRIPTION

Mv moves one or more files from one place in the file system to another. If the old path and new path are on the same device, it is done by renaming otherwise by copying. If you're not superuser, the copy will destroy the file's owner, group and setuid/setgid bits. mv will prompt before removing non-writable files if stdin is a terminal or the -i flag was specified.

SEE ALSO
cp(1), rename(2).