Slashdot Mirror


What Was Your Worst Computer Accident?

Anonymous Writer writes "I learned years ago to backup regularly and never keep a drink on the same table as a laptop. I accidentally spilled a drink onto my laptop's keyboard where it drained into the laptop's innards, ruining the motherboard, CD-ROM, and hard drive. Thousands of dollars and all my data disappeared in a flash. Considering that there are even people out there that intentionally damage hardware, I was wondering what kind of disasters Slashdot readers have experienced."

1 of 1,542 comments (clear)

  1. Re:chown -R root:root .* by dspeyer · · Score: 5, Informative
    chown -R root:root .*

    Ouch. Now I realize that the right expression for this is not easy to come up with. I think .!(|.) would work if you are using bash with extended globing enabled. But can anybody come up with something better with the same result.

    This is when I do things like find . -iname '.*'|awk '{print "chown root:root " $0}'|less and then check it by hand. If it looks right, replace less with sh and let it run.

    Hope this Helps,