Charles Schultz wrote,on my timestamp of 19/05/2009 12:09 AM:
alias rm 'rm –yes-i-know-i-specified-rf-and-yes-i-know-im-about-to- specify-the-root-directory-and-yes-i-know-im-logged-in- as-root-do-it-anyways' "With great power comes great responsibility". You just cannot have it two different ways. Great power and no responsibility only happens in Hollywood and books/movies. On Mon, May 18, 2009 at 08:53, Bobak, Mark <Mark.Bobak@xxxxxxxxxxxx> wrote:Ouch! rm –rf / ….how many ways can that one bite you? Honestly, sometimes I think rm needs an option like: rm –rf –yes-i-know-i-specified-rf-and-yes-i-know-im-about-to-specify-the-root-directory-and-yes-i-know-im-logged-in-as-root-do-it-anyways /
One of the reasons in our systems root has an alias defined for rm: "rm -i" Many moons ago, when Unix was AT&T System VR2, the classic way to remove the entire file system when logged in as root was: $rm -rf .* It worked from ANY directory, not just / (think about it) Then AT&T fixed that hole. Darn, no more fun.... -- Cheers Nuno Souto in rainy Sydney, Australia dbvision@xxxxxxxxxxxx -- //www.freelists.org/webpage/oracle-l