On Thu, 19 Jul 2001 Jenny_Hopkins@toby-churchill.com wrote:
Shall I share my awful moment with you all? Trying to find the right command to copy a directory to another directory, I went to clear the second directory for a second try. So i typed in rm -r ./* Except - you've guessed what i omitted in my haste - the full stop. Ohmygod. Luckily for me I was not superuser and the puzzled linuxbox asked me if I was sure i wanted to delete Games or something, at which point i woke up and lunged for the kill button. As if i haven't read in my O'R book to sit on my hands when i type a command for this very reason? Hee hee. I'm still pale and shaking. Anyone else ever done this?
I had a software developer do this to me before, they wanted to delete some temporary files created by an autobuild script on a Irix box, they su'ed and typed as root rm -r * unfortunatly on Irix roots home dir is you've guessed / no /root We were saved though as we had an automounter and NFS mounted home directorys and with automounters you get a directory /a/ which has all the automounts mounted below it. As a few people were logged in this command started to take a while and the guy hit ^c when he saw it complaining it couldn't delete someone else files!
I havn't done it myself.... yet! Adam