Bash command history not working

Posted by user12663 on Ask Ubuntu See other posts from Ask Ubuntu or by user12663
Published on 2011-03-19T14:01:55Z Indexed on 2012/03/23 23:40 UTC
Read the original article Hit count: 371

Filed under:
|
|
|

The command history between sessions is not getting saved. I'm using guake and the history for the session is working fine.

I noticed that .bash_history had some commands I executed in sudo -s mode and tried the same again and all the commands while in the session got saved so I tried chmod 777 .bash_history

Now the old commands appear at the start of a session but no new commands are getting saved

Thanx in advance

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about bash