3 ms·
If you're using bash, you'll need a to use HISTIGNORE or HISTCONTROL environment variables to do this.
by cbm-vic-20 4y ago
If you're using bash, you'll need a to use HISTIGNORE or HISTCONTROL environment variables to do this.
- bombolo 4y agoIf you're using bash, you can just leave a space before the command, like the other commentor said.
- seedie 4y agoThats true if HISTCONTROL is set to `ignorespace` or `ignoreboth` https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html#index-HISTCONTROL https://www.gnu.org/software/bash/manual/html_node/Bash-Vari...