mv fromfile tofile mv fromfile... todir
If there are two arguments of the same type (directories or files) then mv will rename the fromfile to tofile.
For files, a previously existing file named tofile will be (silently) removed. This requires write permission for the current directory. Write permission is not needed for tofile.
If the last argument is a directory, the earlier arguments (all files) will be moved into that directory. Any previously existing files of the same name will be overwritten.