Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
[root@localhost /home/chankey/Desktop/Downloads]# ls
[root@localhost /home/chankey/Desktop/Downloads]# mv myproject.plx ..

I had the file in Downloads folder. I used mv command as shown above and now I can't see the file. It is neither in the Desktop folder nor in the Downloads.

share|improve this question
up vote 12 down vote accepted

Check if /home/chankey/Desktop/Download for some reason would be a symlink to for example /home/chankey/Download ... If so, it may be that that the file is in /home/chankey/

share|improve this answer
+1 good idea, definitively a possibility. – Caleb Aug 23 '11 at 12:41
Yes the file was in /home/chankey/ – Chankey Pathak Aug 23 '11 at 13:15

The move command you show using .. as the target will move your file UP one directory to /home/chankey/Desktop/myproject.plx. The .. folder syntax is always the parent folder.

If it's not there, you did something different than you are showing. Perhaps you typed in three dots and it actually got named that: /home/chankey/Desktop/Downloads/...

share|improve this answer
Caleb is correct. If your history is enabled, you can confirm the command you issued by checking it. Simply issue the history command at the prompt. – Sean C. Aug 23 '11 at 12:32
You can use history -n 100 to see more history lines... – Caleb Aug 23 '11 at 12:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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