mv is the Unix command to rename or move a file or directory.
mv
mv - move (rename) files
mv /my/dir /my/other/dir
Related commands
copy cp cpio ln rm