1, double naming
mv fileName1 fileName2
fileName1 indicates the name of the original file or directory, and fileName2 indicates the name of the renamed file or directory;
In the current directory, change the name of fileName1 to fileName2;
2. Move files
mv fileName dirName1/dirName2/dirName3/
In the current directory, move fileName to the directory dirName1/dirName2/dirName3/;
3. Mobile directory
mv dirName1/dirName2/dirName3/ dirName11/dirName22/dirName33/
In the current directory, move dirName1/dirName2/dirName3/ to the dirName1/dirName2/dirName3/ directory;