Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-ses!hpcea!hpausla!craig From: craig@hpausla.HP.COM (Craig Ryan) Newsgroups: comp.sys.hp Subject: Re: Trying to remove a file called "-ls" Message-ID: <310003@hpausla.HP.COM> Date: 27 Apr 89 07:16:37 GMT References: <570@sdrc.UUCP> Organization: HP Australian Software Operation Lines: 14 Two ways: 1. Amazing as it seems, rm actually adheres to the '--' standard so as mentioned so many times in the above responses, rm -- -ls 2. If ls -i gives 12000 -ls 12332 .... etc then use find . -inum 12000 -exec rm {} \;