Saving bash history in OpenVZ VE

Just add the following line to your ~/.bashrc and restart bash:

HISTFILE=~/.bash_history


Leave a Reply

Your email address will not be published. Required fields are marked *