Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 1996 12:25:53 +0200 (EET)
From:      Seppo Kallio <kallio@cc.jyu.fi>
To:        Terry Dwyer <tdwyer@netbsd08.dn.itg.telecom.com.au>
Cc:        invalid opcode <coredump@nervosa.com>, James FitzGibbon <james@teamos2.org>, freebsd-questions@freebsd.org
Subject:   Re: How to delete strange filename
Message-ID:  <Pine.SOL.3.91ska.960304122539.20460C-100000@kanto.cc.jyu.fi>
In-Reply-To: <Pine.BSI.3.90.960304125005.25804C-100000@netbsd08.dn.itg.telecom.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Mar 1996, Terry Dwyer wrote:

> On Sun, 3 Mar 1996, invalid opcode wrote:
> 
> > On Sun, 3 Mar 1996, James FitzGibbon wrote:
> > 
> > > Okay, stupid question here:
> > > 
> > > Somehow, I've got a file called "-i" in my home directory.  How do I 
> > > remove it?  Everything I've tried attempts to parse the "-i" as a 
> > > parameter, even with quotes (all varieties).
> > > James FitzGibbon                                           james@teamos2.org
> > 
> > Look's like someone tried to exploit your system via suid shell scripts. 
> > rm -rf "-i"

Use  rm ./-i

Seppo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91ska.960304122539.20460C-100000>