First impressions of a $200 lindows box: Good

Joel Hammer Joel
Mon May 17 11:45:37 PDT 2004


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.
> 


More information about the Linux-users mailing list