4 ms·Prefix any command with a space and bash won't append to the history.by bombela 2y agoPrefix any command with a space and bash won't append to the history.gruturo 2y agoCareful that's only true if you set HISTCONTROL to "ignorespace" or "ignoreboth".bombela 2y agoWhich seems the default in my anecdotal experience on debian/Ubuntu. It is also the default on fish shell in the same anecdotal experience.