I somehow managed to create a file that doesn't seem to have a filename. I found some information regarding how to get more details of the file in the following thread.
However, I tried some of the suggestions listed and can't seem to delete the file. I'm not sure what I did to create it, but it happened while trying to copy an xml file. Any ideas are appreciated.
Some info on the file is as follows;
> ls -lb
total 296
-rw-r--r-- 1 voyager endeavor 137627 Jan 12 12:49 \177
> file *
: XML document
> ls -i
417777
I tried to find using the inum switch and then pipe that to rm as that seemed like the most foolproof way of getting rid of it. However, the example given at the bottom of the thread linked below failed for me. Example was;
> find -inum 41777 -exec ls -al {} \;
find: illegal option -- i
find: [-H | -L] path-list predicate-list
so I tried using the path list first like the following, but that didn't work either;
> find . -inum 41777 -exec ls -al {} \;
Any help on how to remove this file is appreciated. I'm not sure what the non-printable character \177 is or how I can pass that to an rm command, but I really want to make sure I don't mess up any other files/directories in my attempt to delete this file.
Thanks.




\177is the ASCIIDELcharacter. – Keith Thompson Jan 13 '12 at 1:57