Enable confirmation for commands with force flag

Is there any option to enable confirmation for the rm -rf . We had an alias setup for rm=rm -i so whenever we delete a file it asks for confirmation but when -f flag is supplied it will not asks for confirmation.

So is there any option to ask confirmation for rm (Or rm -r) command with force flag that is for rm -f and rm -rf commands?

Related:


Leave a Reply