On Tue, 1 May 2001, Vinu Chandran wrote:

> > Hi
> 
> to get the current sessions history commands. But once I logs out and relogs
> in all the history command vanishes
> and I'm not able to get it with my arrow keys. What is the problem and how
> can I solve it. Please Help !!!
> 

in yr .bash_profile define variable HISTFILE as 

HISTFILE=<Yr home dir>/.bash_history

use touch to create .bash_history file in yr home dir
like

$touch .bash_history 

now relogin or run command  

$ . .bash_history 


enjoy

shubh


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to