Problem removing a file
Lenny Tropiano
lenny at icus.islp.ny.us
Mon Jan 30 15:49:59 AEST 1989
In article <695 at flatline.UUCP> erict at flatline.UUCP (j eric townsend) writes:
|>
|>Ok, I've really done it now. I've created, in my home directory,
|>a file by the name of:
|>-ef
|>
|>None of the following rm options work: *f, *ef, -*f, -i *
|>
|>The error returned?
|>
|>rm: illegal option -- e
|>usage: rm [-fir] file ...
|>
|>Any hints/suggestions?
Yeah, I do ... :-)
Rename the file with "mv(1)", since that doesn't have any argument switches,
it won't complain about the "-ef", then remove it.
$ mv -ef junk
$ rm junk
-Lenny
--
Lenny Tropiano ICUS Software Systems [w] +1 (516) 582-5525
lenny at icus.islp.ny.us Telex; 154232428 ICUS [h] +1 (516) 968-8576
{talcott,decuac,boulder,hombre,pacbell,sbcs}!icus!lenny attmail!icus!lenny
ICUS Software Systems -- PO Box 1; Islip Terrace, NY 11752
More information about the Unix-pc.general
mailing list