27 Nov Saving bash history in OpenVZ VE Just add the following line to your ~/.bashrc and restart bash: HISTFILE=~/.bash_history