On 3/14/07, Tarek Soliman <[EMAIL PROTECTED]> wrote:
> Q) In the CLI, how do you rm (remove) a file that begins with a hyphen ?
>
> A) rm -- --oops
>
Wasn't there a similar horror story where a program would save a
directory as .* or *. or whatever, and then rm -R .* would expand to ..
among other things, nuking the parent folder too?

rm ".*"


Regards,
Atis

\.../)
(O.o)
(> <) This is Bunny. Copy Bunny into your signature to help him on his
way to world domination.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to