How to prompt before deleting a file or directory in Linux?

You can use Linux rm command with -i or -I options to prompt before deletion of a file or directory in Linux.

Leave a Reply