1. Command format: MV [option] source file or directory destination file or directory
2, Command function: MV command to rename the file or move it to a new directory
3. Command parameters:
-B: Overwrite the previous backup if you need to overwrite the file
-F: Mandatory meaning, if the target file already exists, does not ask for direct overwrite
-I: If the target file already exists, ask whether to overwrite
-U: Update if the target file already exists and source is newer
-T: Specifies the target directory for MV, which is suitable for moving multiple source files to a directory, where the target directory is in front of the source file
4. Example
File renaming
MV Test.log Test1.txt
Moving files
MV Test.txt Test3
Move file Log1.txt log2.txt log3.txt to Test3
Mv-t log1.txt log2.txt log3.txt test3
Move Directory
MV Dir1 Dir2
Move all files under the current folder to the top level directory
MV *.. /
Linux--MV