$HISTCONTROL
–
Control History List
$HISTCONTROL is a colon-separated list of values to control how commands are saved on the history file.
Possible values
ignorespace: lines which begin with a space are not savedignoredups: lines which match the previous line are not savedignoreboth: shorthand forignorespaceandignoredupserasedups: all previous lines matching the current line are removed from the history
Links
BashSupport Pro ist eine Bash IDE mit Unterstützung für $HISTCONTROL – probieren Sie es aus!