On  0, Brad Caricofe <[EMAIL PROTECTED]> blathered:
> Tonight I typed "mv ... filename" instead of "mv ../" like I wanted.  Now I
> can find the file nowhere!  LoL, wtf did it go?
> 
> thanks,
> Brad

Brad,

Do you mean that you typed "mv filename ..." by mistake?  

If you typed "mv ... filename", then you should have received an error
"no such file or directory", unless you had a file called "...".

Even if you meant to type "mv ../ filename", that would mean you would be trying to 
move all the
files and directories in the parent directory (including the one you are in), into a 
file called "filename", which you cannot do.

If I'm correct in my assumption, then when you typed "mv filename ...",
you simply renamed "filename" into a hidden file "...".  The leading "."
will make it hidden, so a simple "ls" will not show it. 

You should see it if you show hidden files with "ls", as such:

#ls -hal

-h human readable (optional, habit for me)
-a show all files
-l show long listing  (also habit)

Hope that helps,

--
Vinny Valdez
http://www.catb.org/~esr/faqs/smart-questions.html
*Please note, the above is a FAQ, not a helpdesk*


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to