2 ms·
Prepend your command with a space and now your command is not saved in the history.
by cocoto 7mo ago
Prepend your command with a space and now your command is not saved in the history.
- sltkr 7mo agoThat depends on the shell configuration. On bash, you can achieve this by setting HISTCONTROL=ignorespace but that's not the default.