[NTLUG:Discuss] remove file

Tophat James tophatjames at yahoo.com
Wed Apr 20 00:58:02 CDT 2005


You can remove the file using rm.  First off, It will help to see what
the file name actually is:  
ls | cat -vet 
will let you see what the actual filename.  cat -vet will turn control-a
into ^a, etc...  After you have done that, you'll be able to figure out
what you want to have as a wildcard that gets you just the file that you
want to remove.  After you think you have the wildcard expression that
will get yu the filename you want, you can (assuming here that the file
ended with b):
echo *b | cat -vet
When you have the wildcard expression that will only return that one
filename, then do a rm of that expression to remove the single file.


On Tue, 2005-04-19 at 21:33 -0700, 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
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Plan great trips with Yahoo! Travel: Now over 17,000 guides!
> http://travel.yahoo.com/p-travelguide
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss





More information about the Discuss mailing list