Saving bash history in OpenVZ VE

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

HISTFILE=~/.bash_history


Leave a Reply