Bash History

On several occasions, I have lost some of my bash history, as the ssh session has not been exited cleanly. This annoyed me as I use the history as a means to remember what I have done.  It prompted me to investigate if I could fix it and Unix being Unix, of course you can.

The History part of my .bashrc file now looks like this;

I tried adding a timestamp but that just looked messy so I took it out again.

HTH

Facebooktwitterby feather
This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply