I am inside /home/me/examplefolder
and tried to move the folder myfolder
to /home/me
like this:
root@linuxserver:/home/me/examplefolder# mv myfolder/ ..myfolder
The folder myfolder
dissapeared, but I cant find it now, where is it?
It is at "..myfolder"
You have to show hidden or "dot" directories
ls -la
or show hidden directories in Nautilus
mv foo ../
If you are not changing the name you do not need to retype the name to move up.
– Panther
Jul 21 '17 at 18:26
mv myfolder/ ../myfolder
, because ../myfolder refers to a location while ..myfolder is just a new name for it – brndn2k Jul 21 '17 at 20:42