Have an odd occurrence (or at least I think? still pretty green in linux) where I tried running the mv
to move a .png
file to my Pictures
directory, I copied the command directly from the terminal from when I ran the mv
command:
$ sudo mv Firefox_wallpaper.png /Pictures
I would assume the file gets essentially cut and pasted into the Pictures directory.
File original location: /home/ebeeze
What I would assume after the MV command: /home/ebeeze/Pictures
Any help would be nice, not sure if I have permission to see it (ran sudo ls -a
but nothing).
mv Firefox_wallpaper.png Pictures
also works,mv
is wise enough not to overwrite the directory but to write into it. – dessert Dec 19 '17 at 10:56mv
from renaming the file if you mistype the directory name. Am I correct in this assumption. – ravery Dec 19 '17 at 12:09Pic
, pressbash
care for the correct spelling and the slash. :)