MV Rename or move
Through the which command to view the absolute path of the MV command, found that the MV is an alias, the actual command is mv-i,-i means to ask for confirmation
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/66/wKiom1UH1WTxev4xAAAn5IK65og365.jpg "title=" 0.jpg " alt= "Wkiom1uh1wtxev4xaaan5ik65og365.jpg"/>
Sometimes we use/BIN/MV to avoid asking, when we are in the MV directory, Note: If the target directory is present, the source directory will be moved to the target directory .
Cases:
Create a Directory 11
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/65/wKiom1UH1D3wgnQEAAAhcoudl5Q043.jpg "style=" float: none; "title=" 1.png "alt=" Wkiom1uh1d3wgnqeaaahcoudl5q043.jpg "/>
Move/ETC/11 to/tmp, still named 11 (Original/TMP does not have 11 directories)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/65/wKiom1UH1D3T-ztDAAAmnIZRVEI205.jpg "title=" 2.png " Style= "Float:none;" alt= "wkiom1uh1d3t-ztdaaamnizrvei205.jpg"/> 650) this.width=650; "Src="/e/u261/themes/ Default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%;background-repeat: no-repeat; "alt=" Spacer.gif "/>
View/tmp, at which time there is a 11 directory in/tmp
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/60/wKioL1UH1WTwjhSkAABN0maWCBg035.jpg "title=" 3.jpg " Style= "Float:none;" alt= "wkiol1uh1wtwjhskaabn0mawcbg035.jpg"/> 650) this.width=650; "Src="/e/u261/themes/ Default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%;background-repeat: no-repeat; "alt=" Spacer.gif "/>
Re-Test
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/65/wKiom1UH1D3RvTrpAAAkdQk4kjk937.jpg "title=" 4.png " Style= "Float:none;" alt= "wkiom1uh1d3rvtrpaaakdqk4kjk937.jpg"/> 650) this.width=650; "Src="/e/u261/themes/ Default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%;background-repeat: no-repeat; "alt=" Spacer.gif "/>
Move the/VAR/11 to/TMP as described above,
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/60/wKioL1UH1WWTTTcrAAArfbShCU4836.jpg "title=" 5.png " Style= "Float:none;" alt= "wkiol1uh1wwtttcraaarfbshcu4836.jpg"/> 650) this.width=650; "Src="/e/u261/themes/ Default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%;background-repeat: no-repeat; "alt=" Spacer.gif "/>
There are still 11 directories in/TMP, but there is no question about overwriting the original directory (strange!). )
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/60/wKioL1UH1WWhAqxkAACMLIZQnRU801.jpg "title=" 6.png " Style= "Float:none;" alt= "wkiol1uh1wwhaqxkaacmlizqnru801.jpg"/> 650) this.width=650; "Src="/e/u261/themes/ Default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%;background-repeat: no-repeat; "alt=" Spacer.gif "/>
Look at the 11 directory, the original empty directory appeared in another 11 directory, the original was to move the/VAR/11 into the/TMP/11 inside
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/65/wKiom1UH1FTzdjRKAABTeap6OCs506.jpg "title=" 7.png " alt= "Wkiom1uh1ftzdjrkaabteap6ocs506.jpg"/>
Because by the above move, the directory will be moved to the specified path, that is, under the/TMP/11 directory
Correct movement mode: 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" border:1px solid RGB (221,221,221 ); background-position:50% 50%;background-repeat:no-repeat; "alt=" Spacer.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/65/wKiom1UH1EHyGMckAAA9hNKPpIw439.jpg "title=" 8.png " Style= "Float:none;" alt= "wkiom1uh1ehygmckaaa9hnkppiw439.jpg"/> 650) this.width=650; "Src="/e/u261/themes/ Default/images/spacer.gif "style=" border:1px solid rgb (221,221,221); background-position:50% 50%;background-repeat: no-repeat; "alt=" Spacer.gif "/>
Application of MV command in Linux