/ Published in: Bash
Expand |
Embed | Plain Text
shopt -s cmdhist shopt -s histappend # suppress history recording for the specified commands including commands beginning with a space export HISTIGNORE="&:[ \t]*:ls:[bf]g:history*:clear:exit" #export HISTCONTROL=ignorespace export HISTCONTROL=ignoredups #export HISTCONTROL=ignoreboth
You need to login to post a comment.
