Whew. Close call on this one. The man page says that rm comes configured
to require a "y" response to erase anything. I tried this out and this
was not true.

So, I made an alias:
  alias rm="rm -i"

I tried it out and this time I was asked to respond to each file being
erased.

Image my chagrin, however, when I saw what I had typed. Instead of:
  rm junk*

I had typed:
  rm junk *

What a difference a single space makes! I suspect that rm sould not have
removed directories, but, I am not going to experiment to find out now.

Joel


> Yes, the rm stuff is important. I'll have to make sure I alias the rm
> command to something less damaging.
> 
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to