I dont think it quite does what you want but I have export HISTCONTROL=ignoredups
in my bashrc. There are some other HIST* environment variables that you might like too. BB on Mon, Oct 06, 2003 at 10:58:01AM +0000, Voytek Eymont <[EMAIL PROTECTED]> wrote: > when I try to look up 'what was that command I used last time' I get heaps > of duplicates, I was planning on sorting then deduping the .history file > > can I just dedupe .bash_history with uniq, will I break anything if if I do? > or, is there some way not to have multiple same entries in history stack ? > > > > Voytek Eymont > -- > SLUG - Sydney Linux User's Group - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
