How can I set HISTSIZE for all users on Ubuntu 10.04?
I've tried adding the following lines to both
/etc/bash.bashrc. I'm not sure I understand the difference between the two files but I really think either one should work on an interactive shell, right?
export HISTCONTROL=erasedups:ignorespace export HISTSIZE=5000 shopt -s histappend
For some reason this won't work though. I have added the lines to the bottom, logged out, logged back in, and typed
echo $HISTSIZE and I get "
What am I doing wrong?