bash history limit
Can anyone tell me how to confirm the default limit of the history kept in .bash_history?
A Google search reveals people saying the default limit is 500 (lines? filesize in bytes?). e.g., http://www.ducea.com/2006/05/15/linu...-bash_history/ I know there is an option to set the size, using HISTSIZE in .bashrc as discussed on this site at http://www.linuxquestions.org/questi...istory-136137/ and others. But how can I confirm the existing default without have to type command after command to see when the first command gets pushed out? Thanks. |
echo $HISTSIZE
|
Quote:
|
Basically, they are set in the usual login profile files eg /etc/profile http://www.linuxfromscratch.org/blfs...s/profile.html and you can override them at the user level in .bash_profile.
|
All times are GMT -5. The time now is 05:28 AM. |