From owner-freebsd-questions Thu Aug 19 23:55:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from revolution.3-cities.com (revolution.3-cities.com [204.203.224.155]) by hub.freebsd.org (Postfix) with ESMTP id 1B0DC151A4 for ; Thu, 19 Aug 1999 23:55:15 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn2231.bossig.com [208.26.242.231]) by revolution.3-cities.com (8.9.3/8.9.3) with ESMTP id XAA18238; Thu, 19 Aug 1999 23:53:30 -0700 (PDT) Message-ID: <37BCFB74.97F6178F@3-cities.com> Date: Thu, 19 Aug 1999 23:53:40 -0700 From: Kent Stewart Organization: BOSSig X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "Korchagin, Dmitry" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Deadless file References: <000f01beeade$f28515c0$0201a8c0@sting.grata.hippo.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > "Korchagin, Dmitry" wrote: > > Hello & Help! > > I have created file with name "-z" in mistake and can't remove it. > > $ ls > -z > $ rm -z > rm: illegal option -- z > > How can I remove such files? Try rm -- -z The -- turns off the option field. Kent > > Best regards, Dmitry Korchagin > > sting@hippo.ru > -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html SETI (Search for Extraterrestrial Intelligence) @ Home http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message