Maybe is a python script that allows you to simulate running commands such as rm without making any actual changes to files. I’ve just given it a test run and it seems to work very nicely.
maybe has prevented rm test_file from performing 1 file system operations:
delete /home/ryan/test_file
Do you want to rerun rm test_file and permit these operations? [y/N]
delete /home/ryan/test_file
Do you want to rerun rm test_file and permit these operations? [y/N]
This looks like an excellent script for using on servers in particular!