![](https://seccdn.libravatar.org/avatar/7d3c5831bb2afca4a7cadaede30a8955.jpg?s=120&d=mm&r=g)
I've looked all over for this but can't find it. The .bash_history seems to default to 500, I'd like to jack this up to 2000 or 3000 - how do I do this? What are the ramifications of doing this? Thank you. -- (o< //\ Powered by SuSE Linux V_/_ Virusproof. Crashproof. 11:21am up 24 days, 18:17, 27 users, load average: 1.02, 1.34, 1.57 processes 2198374
![](https://seccdn.libravatar.org/avatar/b91e6124f42121718bdabacefd040ed7.jpg?s=120&d=mm&r=g)
Robt. Miller wrote:
I've looked all over for this but can't find it. The .bash_history seems to default to 500, I'd like to jack this up to 2000 or 3000 - how do I do this? What are the ramifications of doing this? Thank you.
There are 2 environment variables .. HISTSIZE is the maximum number of commands to remember in a single session HISTFILESIZE is the maximun number of commands to write to the history file (HISTFILE, usually ~/.bash_history) The easiest way to change these settings is to put something like export HISTSIZE='1000' export HISTFILESIZE='1000' in your /~.bashrc HTH sjb
participants (2)
-
Robt. Miller
-
sjb