I am trying to increase the size of my history in bash. I have the following in my ~/.bash_profile
# Control the command history
But, when I
export HISTFILESIZE=10000
export HISTSIZE=10000
export HISTCONTROL=ignoredups:erasedups
echo $HISTSIZE
I always get 50
. Am I missing something? Is there some command that my sys admin put in a higher config file that could prevent HISTSIZE from being changed?
echo $HISTSIZE
immediately after youexport
it? Do you still get 50 in that instance?echo
in your.bash_profile
? I'm basically trying to determine if your.bash_profile
just isn't setting it at all, or if it's getting overwritten later on down the line.