Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!bloom-beacon!tut.cis.ohio-state.edu!nisca.ircc.ohio-state.edu!hpuxa.ircc.ohio-state.edu!frank From: frank@hpuxa.ircc.ohio-state.edu (Frank G. Fiamingo) Newsgroups: comp.sys.hp Subject: Re: Trying to remove a file called "-ls" Keywords: HP bug Message-ID: <46@nisca.ircc.ohio-state.edu> Date: 13 Mar 89 14:57:15 GMT References: <570@sdrc.UUCP> Sender: news@nisca.ircc.ohio-state.edu Organization: Ohio State Univ IRCC Lines: 8 To delete a file with a "-" as the first character you need to clearly separate that file from the command options. You can do this by including another file with a "normal" name first, e.g. rm dummyfile -ls rm will then remove file "-ls" without problem. Frank Fiamingo frank@hpuxa.ircc.ohio-state.edu