3 ms·
FYI, if you want your bash history to go dark temporarily run: export HISTFILE= The rest of your session will not be logged.
by jcoffland 10y ago
FYI, if you want your bash history to go dark temporarily run:
export HISTFILE=
The rest of your session will not be logged.
- ymse 10y agoThe default bash setting is to not write history until the session terminates. In which case the whole session will be forgotten, not just the stuff after overwriting HISTFILE (I always set it to /dev/null FWIW, didn't know blank was sufficient).