Append the following two lines to the .bash_profile and relogin to the bash shell again to see the change. In this example, only 450 command will be stored in the bash history.
# vi ~/.bash_profile HISTSIZE=450 HISTFILESIZE=450
Previous post: Hack 54. Execute previous command that starts with a specific word
Next post: Hack 56. Change the history file name using HISTFILE
Previous post: Hack 54. Execute previous command that starts with a specific word
Next post: Hack 56. Change the history file name using HISTFILE