i'm not sure if it works in all shells, but at least in zsh/bash doing
$ echo "this will not be saved in history"
as opposed to $echo "this will be saved in history"
can be useful