Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 1996 23:15:42 -0600
From:      dkelly@hiwaay.net (David Kelly)
To:        James FitzGibbon <james@teamos2.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to delete strange filename
Message-ID:  <v02140b01ad602c283c06@[206.104.20.188]>

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

rm ./-i

The leading "./" will cause the switch character detect to fail, yet it
says, "This directory, the file -i" which is what you want.

--
David Kelly N4HHE,   n4hhe@amsat.org,    dkelly@hiwaay.net
=============================================================
To invent, you need a good imagination and a pile of junk.
                - Thomas Edison





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v02140b01ad602c283c06>