What's a safer alternative to rm -rf
When I want to delete a directory and everything in it, I usually use rm -rf
However, I have heard that that is a bad habit to get into, and I agree. If you make a mistake, you could delete your entire partition.
Is there a safer way to delete a directory and all its subdirectories and files? What's a "best practice"?