mv - move (rename) files
$ mv [options...] <old name> <new name>
$ mv [options...] <source...> <destination>
mv
renames file old name
to new name
or moves all source
files into destination
.
-f
, --force
: Do not prompt before overwriting (not implemented for now)-n
, --no-clobber
: Do not overwrite existing files-v
, --verbose
: Display all moved files$ mv bin /usr
$ mv *.cpp /usr/src
$ mv old.txt new.txt