Comment

Emil Erlandsson

Add an alias in your shell config (if it supports aliases that is) so that 'rm' always asks you before any deletion. You can always override with -f if you don't want to answer any questions ...

alias rm='rm -i'

-i, --interactive prompt before any removal