.bash_histoty

Scott Mertens smertens at mho.com
Thu Apr 21 16:29:19 UTC 2005


>yes, you can increase the size of the file.

>Make a copy of the file ~/.bash_history and put it somewhere first

>The, in ~/.bash_profile put :

>HISTFILE="${HOME}/.bash_history"
>HISTSIZE=100000
>HISTFILESIZE=100000

>then logout and log back in (OR - source this file in
>every environment you have active or activate from now until 
>you do logout and log back in, the first way is easier)

>PS, you don't have to make it 100000.  You can make it bigger or
>smaller.

Thanks, is the 1000000 a byte count for the file, or number of commands it stores?




More information about the Redhat-install-list mailing list