6. Moving Stuff
Next Experiments the Dynamics of Files and Directories
And in this Moving dimension Files or Directories are taken as the Same.
* Again you find here the ‘mv‘ Command as a Contraction of ‘Move‘ *
So now for instance Make and Empty ‘bottle’:
And then we Displace it in another Room:
mv ~/livingroom/bottle ~/bedroom/
Then verify Listing the ‘bedroom’ contents:
And what you Find? The:
Also if only an empty one, sorry :))
Again you can Move & Rename at the same time like:
mv ~/bedroom/bottle ~/bathroom/can
Here we have magically trasformed an empty ‘bottle’ inside the ‘bedroom’ in an empty ‘can’ inside to the ‘bathroom’.
And as I said in the introduction the Command for Directories works the Same!
So now ‘Like Alice in the Wonderland’ we Move the Directory ‘livingroom’ we set into the ‘garden’ in a ‘teapot’ in the bedroom!
mv ~/garden/livingroom ~/bedroom/teapot
Patiently Verify it with:
Simple :) An Empty Space!
Tags: Command Line Tutorial for Beginners Scientific Linux, Command Line Tutorial for Beginners Scientific Linux Xenial, Scientific Linux Command Line, Scientific Linux Command Line Tutorial, Scientific Linux Terminal Tutorial for Beginners