How do I remove a stubborn file?

Noam Mendelson c60b-1eq at e260-1e.berkeley.edu
Thu Apr 25 05:52:49 AEST 1991


In article <1991Apr24.141633.26512 at ucunx1.san.uc.edu> brenner at ucunx1.san.uc.edu (David L. Brenner) writes:
>I need to know how to remove a file from my account.  Some background,
>I had dialed in from home, and while saving a file, some linenoise came
>across and got embedded in the file name.  Well, this means I can't
>access this file.  I have tried all of the following:
>
>    %rm -i *
>    %rm * 
>    %rm -rf *
>
>all of them returned: 'file does not exist'.  

Since you tried rm -rf I'll assume that the file is in a subdirectory.
Move up one level and try
	rm -fr foo
where foo is the name of the subdirectory.

-- 
+==========================================================================+
| Noam Mendelson   ..!ucbvax!web!c60b-1eq       | "I haven't lost my mind, |
| c60b-1eq at web.Berkeley.EDU                     |  it's backed up on tape  |
| University of California at Berkeley          |  somewhere."             |



More information about the Comp.unix.questions mailing list