Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: PM Confessional

by hesco (Deacon)
on Feb 12, 2011 at 04:23 UTC ( [id://887727]=note: print w/replies, xml ) Need Help??

in reply to PM Confessional

My last night on a job seven years ago, cleaning up the desktop I used next to the rack which ran the operation, I used an ill advised `rm -rf`, which like the OP's took too long to run. By the time I took note of what I had done and pounded on Control-C for a while, I had done some damage to my home directory. Fortunately it was something of a mess and I had mostly deleted large cache's buried in .dot files at the beginning of the alphabet, without doing too much damage to the archives I was leaving for those who were to come later.

One of the guys who helped to set up our systems in that office once advised me to never be root after midnight. I also have learned to never run a DELETE FROM, until I had run a SELECT FROM using the same WHERE clause.

I also have had an awful experience asking a script to `rm files`. My path on that command was programmatically built, and a bug in that code did some damage. I'm pretty cautious now about letting a script use `rm` for any reason, particularly if any wildcards are involved.

-- Hugh

if( $lal && $lol ) { $life++; }
if( $insurance->rationing() ) { $people->die(); }

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://887727]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-16 21:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found