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.
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!