Single most important habit I've developed as a SysAdmin: measure twice, cut once.
I never just
sudo rm *
First, I do echo sudo rm *
inspect the output, and then use CLI editing to recall the command, and delete the "echo"I do this for damn near everything that involves a wildcard. It's a lifesaver.