On Mon, 17 Jun 2002 23:33:40 -0800 civileme <[EMAIL PROTECTED]> wrote:

> suppose you are typing
> 
> rm -r /somepath/.somecorruptedconfigdir -f
> 
> and at the point where you have typed
> 
> rm -r /
> 
> The cat jumps up to get your attention and lands a paw on <Enter>.

Here's one I did many years ago on a SunOS box (as root), thinking it
would delete only the path/.<whatever> files/directories:

  cd somepath
  rm -rf .*

Civileme or anyone else, the next time you have a system that's about to
be re-installed anyway, umount everything but the / and /usr partitions
and try:

  rm -rf /root/.*

I'm hoping today's rm does not follow ".."; but it would be nice to know
for sure after all those years since I had to re-install that old Sparc...
 I've made a note to try this when 8.3/9.0 becomes available; but...  :^)

Pierre


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to