by using HISTCONTROL
and/or HISTIGNORE
.
Setting HISTCONTROL
to ignorespace
will tell the shell to not save command lines starting with a space.
HISTIGNORE
can contain patterns of commands not to save in the history. e.g. HISTIGNORE='ls:ls *'
would prevent saving lines that contain only ls
or ls
, a space and anything after that.
by using HISTCONTROL
and/or HISTIGNORE
.
Setting HISTCONTROL
to ignorespace
will tell the shell to not save command lines starting with a space.
HISTIGNORE
can contain patterns of commands not to save in the history. e.g. HISTIGNORE='ls:ls *'
would prevent saving lines that contain only ls
or ls
, a space and anything after that.
status | not learned | measured difficulty | 37% [default] | last interval [days] | |||
---|---|---|---|---|---|---|---|
repetition number in this series | 0 | memorised on | scheduled repetition | ||||
scheduled repetition interval | last repetition or drill |