Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I increase the command history size in Linux Mint 13?

There is no ~./bash_profile in Linux Mint 13

and changing


to include something like


Did not increase history size either.

Please advise.


share|improve this question

migrated from Mar 18 '13 at 12:19

This question came from our site for professional and enthusiast programmers.

If .bash_profile doesn't already exist, just create it. – chepner Mar 17 '13 at 14:34

1 Answer 1

Try in your .profile-:

export HISTSIZE=4050
export HISTFILESIZE=4050

export passes the variables to all sub-shells - which are called when commands are issued from the login shell.

share|improve this answer
I agree with @suspectus. You should add export. Additionally, you can type echo $HISTSIZE or echo $HISTFILESIZE to find out if variable values were applied. – idobr Mar 17 '13 at 10:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.