LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   bash history (http://www.linuxquestions.org/questions/linux-general-1/bash-history-253716/)

slowly 11-11-2004 02:12 PM

bash history
 
I'm trying to unset bash history

Code:

set +o history
However this variable is reset whenever I call up xterm.

I've tried putting this into /home/me/.bash_profile and /etc/profile as well. What should I do to make this permanent?

Thanks

zeropash 11-12-2004 09:03 AM

~/.bashrc
The individual per-interactive-shell startup file

slowly 11-12-2004 11:35 AM

Quote:

Originally posted by zeropash
~/.bashrc
The individual per-interactive-shell startup file

If I put
Code:

set +o history
in .bashrc, history is still active. However if I use
Code:

set HISTFILE=0
, bash history is disabled. I wonder why the former doesn't work...


All times are GMT -5. The time now is 07:38 AM.