*BSD News Article 42280


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!news.sprintlink.net!gatekeeper.cognos.com!curriek
From: curriek@Cognos.COM (Kevin Currie)
Newsgroups: comp.unix.bsd
Subject: Re: HELP!! how do you delete...
Date: 10 Feb 1995 17:27:29 GMT
Organization: Cognos Incorporated, Ottawa CANADA
Lines: 16
Message-ID: <3hg7m1$lb0@gatekeeper.cognos.com>
References: <3hfagp$fiv@villa.fc.net>
NNTP-Posting-Host: pilot.cognos.com
X-Newsreader: TIN [version 1.2 PL2]

Steve Gibson (ares@freeside.fc.net) wrote:
: Help!  I'm a unix novice as will probably become painfully obvious in 
: reading this next question.  How does one delete a file that starts with 
: a "-"?  The 'rm' command won't accept it since it uses the "-" to denote 
: whatever feature you want to turn on...  So, there has to be a way to get 
: rid of these files!  Please help!

: -Steve Gibson
: -ares@freeside.fc.com

	On some unicies you can try "rm ./-filenametodelete"....

--
|    Think for yourself... then Decide...   |-----------------------------
|     Ignorance breeds Arrogance...         |     curriek@cognos.com
|    A4K/WE40/40/NetBSD/Emplant             |Silicon Valley NORTH, Canada