What is the difference in HISTSIZE vs. HISTFILESIZE?

They are used to extend bash history beyond the default 500 lines.

There seems to be lack of clarity here and in other forums about why they are both needed. (Example 1, Example 2, Example 3).

2 Answers
2

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *