Actually mv command is called as rename command and is used for renaming files or directories.
The general syntax of this command is
#mv geek1 geek2
The above renames file geek1 to geek2.
mv command is used not only to rename files. It is also used to rename directories.





Reply With Quote