[ale] How can I delete this file?

Christopher Bergeron christopher at bergeron.com
Tue Sep 7 20:35:08 EDT 2004


Hrm, neither solution seemed to work.  I'm truly stumped on this one.  I 
have no idea what created these files, I think I cat'ed a binary to the 
console or something.

Any other ideas?

Is there a way I can delete the inode(s) without damaging my filesystem?

-CB


Here's the ls -lb output:
-rw-r--r--    1 root     root            0 Aug  1 16:32 
\276?\277@\300A\301B\302\235\270\216\270\235\234\234\216\270\235\234\234
-rw-r--r--    1 root     root            0 Aug  1 16:32 \276\270\235

Here's the ls output:
-rw-r--r--    1 root     root            0 Aug  1 16:32 
???@?A?B?????????????
-rw-r--r--    1 root     root            0 Aug  1 16:32 ???



[root at DashPC ~]$ rm  \?\?\?\@\?A\?B\?\?\?\?\?\?\?\?\?\?\?\?\?
rm: cannot remove `???@?A?B?????????????': No such file or directory
[root at DashPC ~]$ rm ./* -i
rm: cannot lstat `./*': No such file or directory
[root at DashPC ~]$ rm -i ./*
rm: cannot lstat `./*': No such file or directory
[root at DashPC ~]$ rm -i *  
rm: cannot lstat `*': No such file or directory



Fletch wrote:

>>>>>>"Christopher" == Christopher Bergeron <christopher at bergeron.com> writes:
>>>>>>            
>>>>>>
>
>    Christopher> I have a file named: ???@?A?B?????????????
>
>    Christopher> (yep, thats the name of it)
>
>    Christopher> Can anyone tell me how to delete it?  I've tried the
>    Christopher> usual tricks, but with no adeu.
>
>rm -i ./* # and make sure you only hit Y when you really mean it :)
>
>
>Depending on your shell TAB-completion might be useful (at least zsh
>would probably handle it gracefully :).
>
>
>Also of interest may be `ls -b' or `ls -B':
>
>
>     -B      Force printing of non-printable characters (as defined by
>             ctype(3) and current locale settings) in file names as \xxx,
>             where xxx is the numeric value of the character in octal.
>
>[...]
>
>     -b      As -B, but use C escape codes whenever possible.
>
>
>
>
>--
>Fletch                | "If you find my answers frightening,       __`'/|
>fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
>                      |  scary questions." -- Jules                =(___)=
>                      |                                               U
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>  
>



More information about the Ale mailing list