Stupid question...
Dave Westland
dwestlan at axion.bt.co.uk
Wed May 29 00:34:37 AEST 1991
In article <29957 at hydra.gatech.EDU>, gt5223b at 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 at axion.bt.co.uk |
| Tel. : (0473) 642156 Fax : (0473) 643019 |
*-------------------------------------------------------*
``Swike him centurion, vewy wuffly!!'' -- L of B
---
More information about the Comp.unix.shell
mailing list