Re:Ooops.
by getsat on Thursday June 16, 2011 @01:17PM
(#2662217)
Looks like someone never read the Unix Hater's Handbook. Another fun thing is rm + shell expansion. A file named * or / can cause extremely unintended deletions.
[ Parent
| on HN ]
that why you should add -- after your parameters to be extra safe
rm -- -r -f # removes files -r and -fFiles can be named anything but / in Unix.