Xref: utzoo unix-pc.general:2138 comp.sys.att:5382 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!att!icus!lenny From: lenny@icus.islp.ny.us (Lenny Tropiano) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Problem removing a file Message-ID: <589@icus.islp.ny.us> Date: 30 Jan 89 05:49:59 GMT References: <695@flatline.UUCP> Reply-To: lenny@icus.islp.ny.us (Lenny Tropiano) Distribution: usa Organization: ICUS Software Systems, Islip, New York Lines: 29 In article <695@flatline.UUCP> erict@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@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