HISTCONTROL=ignoreboth:erasedups
HISTFILE=/path/to/my/.bash_history
HISTFILESIZE=4096
HISTSIZE=4096
Part of my history is, righ now:
522 cd /var/tmp/; touch z
523 cd /var/tmp/; touch z
524 ll
525 ssh zabu
526 ssh ximi
527 ls
528 ssh zabu
529 ssh ximi
530 gprolog
531 GLOBALZS=100000
532 gprolog --q="[test]"
533 gprolog --q "[test]"
534 gprolog --q "[tp]"
535 ssh ximi
As you see, there are several repeated lines. Many of them are commands I use
constantly. I started with a clean history. But even if not, the duplicates
should have been erased, as I understood from the manual page?