ignorespace is not a default everywhere.
shred may, depending on your filesystem, not actually get rid of a file’s contents. Better add a warning for that one.
export HISTFILE=$HOME/tmp/bash_history when playing around with random commands that I don’t want in my permanent history but still want to be able to use ctrl-r or pgup.
$HOME/tmp is a tmpfs in this case. Not really for security but for convenience, though.
Thanks to the Courtesy of :