Download Learning the bash Shell, 3rd Edition

Transcript
Variable
Meaning
HISTCONTROL
A list of patterns, separated by
colons (:), which can have the
following values. ignorespace:
lines beginning with a space are
not entered into the history list.
ignoredups: lines matching the
last history line are not entered.
erasedups: all previous lines
matching the current line are
removed from the history list
before the line is saved.
ignoreboth:
enables
both
ignorespace and ignoredups. [8]
HISTIGNORE
A list of patterns, separated by
colons (:), used to decide which
command lines to save in the
history list. Patterns are
considered to start at the
beginning of the command line
and must fully specify the line,
i.e., no wildcard (*) is implicitly
appended. The patterns are
checked against the line after
HISTCONTROL is applied.
208