[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rm -r * and the default prompt



>Generally, after installing any system, I add this to ~/.profile for
>root:-
>
>alias rm="/bin/rm -i"

This is a BAD thing to do.  If you want this use a different name, like:

  alias del="/bin/rm -i"

Otherwise it is all too easy to get into the habit of doing

  rm *

and picking the ones you want, which is fine until you log into a system that 
doesn't have the alias, or you su and lose the alias.

Cheers, Phil.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: