> so when you try "rm -r *" from / it expands the -i too and asks you for
> permission. Note that this doesn't protect you from "rm -r /"

Or even better, add an alias into your root .bashrc (or .cshrc or whatever)
such as

alias rm 'rm -i'

its saved my life many a time :)

Rob.

Reply via email to