Unix problem

Frank B. Mostek mostek at motcid.UUCP
Tue Apr 23 05:01:41 AEST 1991


wangjw at cs.purdue.EDU (Jingwen Wang) writes:

>  I was using the X-window and somehow generated some garbage files. I
>cannot remove some files because these files are named "-C", "-f" etc.
>Can someone tell me how to remove these garbages? 

Use the find command:
                                                    
find . -name "-C" -exec rm -f {} \;

I am not sure why this works and
rm -f "-C" does not work.

Any insights?
-- 
Frank Mostek			uunet!motcid!amethyst!mostek
(708)632-7191			mostek at amethyst.mot.com



More information about the Comp.unix.misc mailing list