[NTLUG:Discuss] remove file

Greg Edwards greg at nas-inet.com
Wed Apr 20 02:07:18 CDT 2005


Fred wrote:
> A strange filename showed up one day in my home dir and I
> cannot delete it. The name is mostly garble - ctrl chars, etc
> - is owned by root and has a zero byte count. Seems like I
> remember something about that from years ago, but not enough
> to remember how to kill it. Any ideas? I think that I've
> tried the obvious.
> 
> The home partition is reiser, if that means anything.
> 
> Thanks,
> Fred


rm -i *

Will list every (non hidden) file in the dir and ask y/n.  Do an "rm -i 
.*" to get the hidden files.

If your paranoid, like me, dup the dir into a tmp dir then do the rm and 
if nothing gets lost remove the tmp dir.

-- 
Greg Edwards
New Age Software, Inc.
Custom software for an off the rack world
http://consult.nas-inet.com




More information about the Discuss mailing list