Set the total number of lines in bash history with HISTSIZE
In your .bash_profile file, modify the HISTFILESIZE variable to save more or less lines from your command line history. For example, save 2500 commands from your bash history.
> emacs ~/.bash_profile
HISTSIZE=2500
HISTFILESIZE=2500
Written by Daniel Andrews
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#