Re: what happens when bash_history reaches its limit?
- From: Maurizio Loreti <mlo@xxxxxxxxx>
- Date: 19 Oct 2006 07:36:47 +0200
John Thompson <john@xxxxxxxxxxxxxxxxxxxxx> writes:
On 2006-10-18, notbob <notbob@xxxxxxxxxxx> wrote:
Nope. Like one poster said, FIFO. Why do you want to know? A
security concern? Many consider .bash_history a security liability.
One alternative is zsh, which purges history after each session.
Another alternative is to create a chron job to do the same thing for
bash.
Or just put "history -c" in your ~/.bash_logout script.
Or just "unset HISTFILE" in your .bashrc; from 'man bash':
-> HISTFILE
-> The name of the file in which command history is saved (see HIS-
-> TORY below). The default value is ~/.bash_history. If unset,
-> the command history is not saved when an interactive shell
-> exits.
--
Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html
Dept. of Physics, Univ. of Padova, Italy ROT13: ybergv@xxxxxxxxxx
.
- Follow-Ups:
- References:
- what happens when bash_history reaches its limit?
- From: kevin bailey
- Re: what happens when bash_history reaches its limit?
- From: Moe Trin
- Re: what happens when bash_history reaches its limit?
- From: kevin bailey
- Re: what happens when bash_history reaches its limit?
- From: notbob
- Re: what happens when bash_history reaches its limit?
- From: John Thompson
- what happens when bash_history reaches its limit?
- Prev by Date: Re: what happens when bash_history reaches its limit?
- Next by Date: Re: Netfilter vs PF ? (not a troll)
- Previous by thread: Re: what happens when bash_history reaches its limit?
- Next by thread: Re: what happens when bash_history reaches its limit?
- Index(es):
Relevant Pages
|