2 added 159 characters in body; added 15 characters in body; deleted 11 characters in body; added 1 characters in body; edited body
source | link

Using bash, set HISTCONTROL="ignorespace" and precede with space any command you do not wish to be recorded in history. In case you forgot to take any measures, there is also history -d <number> for deleting a specific entry or history -c for clearing the entire command history.

Using bash, set HISTCONTROL="ignorespace" and precede with space any command you do not wish to be recorded in history.

Using bash, set HISTCONTROL="ignorespace" and precede with space any command you do not wish to be recorded in history. In case you forgot to take any measures, there is also history -d <number> for deleting a specific entry or history -c for clearing the entire command history.

1
source | link

Using bash, set HISTCONTROL="ignorespace" and precede with space any command you do not wish to be recorded in history.