Move (mv)

To move a desired file from one specified location to another. The mv command is also used to rename files. It essentially copies the file and simultaneously deletes the original.

eos$ mv source_path destination_path


How would you rename the file oldstuff.txt to junk.txt while in your home directory?

eos$ mv oldstuff.txt junk.txt
AFS file tree with the adjusted file.


How would you move the file assignment from your home directory to your MyE115 directory?

eos$ mv assignment MyE115
AFS file tree with a new directory

Should I expect an output?