In a message dated: Sun, 25 Nov 2001 12:08:25 EST
Tom Rauschenbach said:

>I've got weigh in on this one.  I know someone who aliases rm to rm -i so 
>when he types rm * he gets prompted for each delete.  Fine and good until
>something goes wrong and rm suddenly means rm.

Precisely my point.  Aliases lead to laziness, and though I'm all for 
laziness in most respects, this type can be dangerous.  As Kenny 
pointed out, RH aliases rm to 'rm -i $*' which is all fine and good 
until you move to a system where it's not been aliased.  
Additionally, what if you want to delete a lot of stuff and you're 
postive you want to delete it?  You now have to answer y|n to every 
single file.  That's a pain.  And how do you over-ride that alias
for just that one session? It's easy enough, but chances are that if 
you live in the world of aliases, you probably don't know, and the 
man page for that particular command won't tell you, since it's a 
shell built in.  This in turn leads to frustration, the single reason 
most find Unix too complex to deal with in the first place.

Btw, preface the command with a '\' to over-ride for a single 
invocation of the aliased command:

        \rm -rf /

:)


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to