> The ls command show once, but pwd show twice. Correct. > It seems to me that HISTCONTROL=ignoredups sometime work, sometime does > not work. HISTCONTROL remove duplicate near-by commands only and it work always. :) > It does not work as I have hoped. Sorry. > > Try: > > > > pwd > > cd > > ls > > ls > > ls > > pwd > > > > then press UP and you will see difference.