TecMint published a tutorial about how to run a Linux command without saving it in History.
How to Run a Linux Command Without Saving It in History
Every Linux command that you execute on your terminal is stored by the shell (command interpreter) in a file called a history file or shell command history.