Re: [Hampshire] error competition

Etusivu

Vastaa
Lähettäjä: Daniel Llewellyn
Päiväys:  
Vastaanottaja: Hampshire LUG Discussion List
Kopio: James Courtier-Dutton
Aihe: 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 /)


--
Regards,
    The Honeymonster aka Daniel Llewellyn