11.03.2012 21:43, Chris Bennett P?P8QP5Q:
This started for me a while back. Login as root, I can repeat older commands with up down arrows. History command shows history.su -l otheruser Cannot use up down arrows to access history. History command shows correct history. Login remotely as otheruser. Same problem. Chris Bennett .
try to add this to your .profile: export HISTFILE=~/.sh_history and re-login. it is work for me and save all history after disconnect and start new session.