This question already has an answer here:

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?

marked as duplicate by Panther, Terrance, Charles Green, David Foerster, Eric Carvalho Jul 22 '17 at 23:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    In order to move it up into the parent directory, you'll want to use 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
  • 1

It is at "..myfolder"

You have to show hidden or "dot" directories

ls -la or show hidden directories in Nautilus

How to show hidden folders in Ubuntu 14.04

  • So it is in /home/me/examplefolder ? – Black Jul 21 '17 at 18:19
  • Yes, you forgot the / 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

Not the answer you're looking for? Browse other questions tagged or ask your own question.