> I find "export HISTCONTROL=ignoredups" in comment in .bashre and > uncomment and save and logout. > > It does not work! > > I try the following commands: > > ls > pwd > cd > ls > whoami > > Then I press UP key. Try: pwd cd ls ls ls pwd then press UP and you will see difference.