If I'm about to run a complex or scary terminal command, I like putting echo in front of it:
$ echo dd if=/dev/urandom of=/dev/...
It's a nice way of having a last check of your command. The command is now in your scrollback, as well as your history.