Can you prevent a command from going into the bash shell command history? [closed]
On newer Bash Versions you could simply add a space at the beginning of your command. :) If it doesn't work by default, add [ \t]* to HISTIGNORE. (As mentioned in the comments. thx)
Add ignorespace to your HISTCONTROL environment variable. Then any command line that begins with a space won't be entered into your history.