From owner-freebsd-questions Sun Mar 3 21:07:47 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA04050 for questions-outgoing; Sun, 3 Mar 1996 21:07:47 -0800 (PST) Received: from csugrad.cs.vt.edu (cremeans@csugrad.cs.vt.edu [128.173.41.74]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA04044 for ; Sun, 3 Mar 1996 21:07:45 -0800 (PST) Received: (cremeans@localhost) by csugrad.cs.vt.edu (8.6.12/8.6.4) id AAA17628; Mon, 4 Mar 1996 00:07:38 -0500 From: Lee Cremeans Message-Id: <199603040507.AAA17628@csugrad.cs.vt.edu> Subject: Re: How to delete strange filename To: james@teamos2.org (James FitzGibbon) Date: Mon, 4 Mar 1996 00:07:38 -0500 (EST) Cc: questions@freebsd.org In-Reply-To: from "James FitzGibbon" at Mar 3, 96 10:04:18 pm X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk > > 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). > > Is there something I can use to change the switch character, like some of > the DOS C library calls can ? Go to your hoe directory, then type rm ./-i and that should get rid of it. I had something similar happen to me recently! :-) Lee C. at school