Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 1996 20:49:54 -0800 (PST)
From:      John-Mark Gurney <gurney_j@nike.efn.org>
To:        James FitzGibbon <james@teamos2.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to delete strange filename
Message-ID:  <Pine.BSF.3.91.960303204847.652N-100000@nike.efn.org>
In-Reply-To: <Pine.BSF.3.91.960303220218.11059A-100000@teamos2.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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).

try "rm -- -i"

> Is there something I can use to change the switch character, like some of 
> the DOS C library calls can ?

well... there's always unlink.... 

John-Mark

gurney_j@efn.org
http://resnet.uoregon.edu/~gurney_j/
Modem/FAX: (541) 683-6954   (FreeBSD Box)

Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960303204847.652N-100000>