rm -rf and fat fingers

Jimmie James jimmiejaz at gmail.com
Thu Jul 23 00:18:11 UTC 2009

So here I was, half asleep, removing some old directories as root, and 
here's what I did...sitting in /home/jimmie after su

jimmie at jimmiejaz <101> [0] /home/jimmie#rm -rf cd /usr/local/lib   (note 
the space, the PWD is home/jimmie/)

Now, a lot of libs went missing from /usr/local/lib. With libchk, last 
locatedb I've been able to reinstall most of the libs.
My ~/ *seems* unaffected, but I'm worried about that, I don't notice 
anything missing, but I could be wrong.

What I'm thinking is the rm -rf found no 'cd' and moved to wipe out 
/usr/local/lib  Would this be a correct assumption?

And yes, I sat in the stupid corner with the dunce hat on.

Over the years I've come to regard you as people I've met.
I may be schizophrenic, but at least I have each other, and when I am 
alone I am togethe

More information about the freebsd-questions mailing list