Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!axion!clover!dwestlan From: dwestlan@axion.bt.co.uk (Dave Westland) Newsgroups: comp.unix.shell Subject: Re: Stupid question... Message-ID: <1991May28.153437@axion.bt.co.uk> Date: 28 May 91 14:34:37 GMT References: <1991May27.225630.18310@watdragon.waterloo.edu> <29957@hydra.gatech.EDU> Sender: news@axion.bt.co.uk Reply-To: dwestlan@axion.bt.co.uk (Dave Westland) Organization: British Telecom Research Labs Lines: 21 In article <29957@hydra.gatech.EDU>, gt5223b@prism.gatech.EDU (Doug Berkland) writes: |> Along the lines of hard to remove files... is there any way to remove |> a file beginning with a - ? Using \- doesn't get it... any ideas? A file called "-name" can be removed by the command : rm - -name The first "-" tells rm to take the argument (very) literally. *-------------------------------------------------------* | DAVID WESTLAND | | BT Laboratories, Martlesham Heath, | | Ipswich. IP5 7RE U.K. | | Email : dwestlan@axion.bt.co.uk | | Tel. : (0473) 642156 Fax : (0473) 643019 | *-------------------------------------------------------* ``Swike him centurion, vewy wuffly!!'' -- L of B ---