Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have lost a file while attempting to move it. I accidentally put three periods after the file name when I meant to put two. The command I ran was 'mv file.txt ...'. Ive used the find command to look for it, but I cant seem to track it down. Anyone encountered this before that might know where the file went?

share|improve this question

migrated from stackoverflow.com Mar 30 '13 at 20:27

This question came from our site for professional and enthusiast programmers.

3  
now do mv ... file.txt –  Rozuur Mar 30 '13 at 20:10
2  
That command would rename it to "..." in whatever directory you were in. So if you cd into that directory and do mv ... ../file.txt you should be able to get it back. –  Jim Lewis Mar 30 '13 at 20:10
add comment

1 Answer

Using the Graphical User Interface, do "view hidden files" on the folder you were in. Either that, or press Ctrl-h (which does the same thing).

Normally, I'd tell you to type ls -la from the terminal, but the syntax coloring of your terminal window may not be smart enough to show those three dots as a normal hidden file.

share|improve this answer
add comment

Your Answer

 
discard

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