A recent post where someone suggested redirecting with a clobber ">" to a file the same command was reading from prompted me to post this sysad good practice list. Some items are from times where I have learned things the hard way. I think this would be helpful so we can learn from each others mistakes.
Test thy backups
pwd before rm
hostname before reboot
Executing a command with a recursive option on .* can be unpredictable
This may be obvious but sometimes it does not get done.
11. Keep your documentation up to date. (The only time you realize that it is out of date is when you really need it. A bit like 1. Test thy backups. The only time you realize that the backups are wrong is when you really need them.)
This goes aong with backing up a file before you change it, but since I'm in CM, Use source control. That way you can recover from that last "update".
And documentation isn't something you do once and then forget. I can't count the number of times that I've used documentation (in house written) and it was a few releases behind or for hardware that had been replaced.