When running history in some distro installation(from boot cd) I noticed the entries only go up to 50, overwriting older entries once reaching that threshold.

Is this defined by each distro? or is this 50 entries native in linux?

Is there a way to increase this?


The history length is controlled by the environment variables(s) HISTSIZE and HISTFILESIZE.

The former refers to the number of history items in memory. The latter refers to the number of lines in the history-file (~/.bash_history)

|improve this answer|||||

Not the answer you're looking for? Browse other questions tagged or ask your own question.