Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ftpbox!motsrd!motcid!mostek From: mostek@motcid.UUCP (Frank B. Mostek) Newsgroups: comp.unix.misc Subject: Re: Unix problem Message-ID: <6238@beryl12.UUCP> Date: 22 Apr 91 19:01:41 GMT References: <14425@medusa.cs.purdue.edu> Organization: Motorola Inc., Cellular Infrastructure Div., Arlington Heights, IL Lines: 17 wangjw@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@amethyst.mot.com