OpenVZ Forum


Home » General » Support » No bash history in VE
Re: No bash history in VE [message #8790 is a reply to message #8784] Wed, 06 December 2006 10:27 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
The problem is that vzctl set HISTFILE variable to /dev/null (why?), so I use the following trick to get history work in VE after vzctl enter:

I add the line
HISTFILE=~/.bash_history

to file /root/.bashrc

HTH,
Vasily.
 
Read Message
Read Message
Read Message
Previous Topic: ERROR: Core::SplitDevPath: Cannot get device for
Next Topic: *SOLVED* nmap: Failed to find interface venet0 mentioned in /proc/net/route
Goto Forum:
  


Current Time: Mon Sep 01 17:57:36 GMT 2025

Total time taken to generate the page: 0.07142 seconds