Based on Jeff Cooper’s Four Rules of Gun Safety. Just thought of it while trying things out on a virtual machine workbench.
All directories are system root directory unless you have personally confirmed otherwise.
Never type in “rm -rf” in any directory you are not willing to destroy.
Keep your finger off the Enter key until you are ready to delete.
Be sure of your target and what’s inside it.
…And this is my 5th rule.
- Being on a rootless system doesn’t mean you can just try and see what happens.