[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Linux Interview Questions



> 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?

-- 
Tarek



Reply to: