Author: Daniel Llewellyn Date: To: Hampshire LUG Discussion List CC: James Courtier-Dutton Subject: Re: [Hampshire] error competition
how about this one that I have actually performed myself:
rm -rf .*
the scenario was I wanted to delete all folders in a subtree including
folders beginning with a dot (.) to hide them from a normal ls
listing. instead it deleted everything in the subtree .. AND
everything in the supertree (../ then ../../ then ../../../ all the
way up to / and then following back down again into every subdirectory
of /)