How to print a message each time you delete a file or directory in Linux?

You can use Linux rm command with -v or –verbose option to print a message each time a file or directory is deleted.

Leave a Reply