EmailXMLTagsEditHistoryDiscussion

delete-repeated-commands

Sometimes you repeat commands, you write them more than once and it is annoying to find out how they corrupt your history.

export HISTCONTROL=erasedups

It seems this option is only available since Bash 3. Note that duplicates are only removed from the history that is kept in memory. At exit duplicated commands will make it to the bash history.

Loading... Vote up! Vote down! Contributed by azul Discussion

Last update:

svnwiki $Rev: 15576 $