Press up/down key in the shell and nothing happened. How can I check this? I config the system capture the up/down pressed correctly when I press them.
$ echo $SHELL
/bin/bash
1 Answer 1
My issue resolved after I update HISTSIZE/HISTSIZE env variables in my bash shell from 0xFFFFFFFF to a smaller value.
-
Why do you use hex notation? And why do you want your history to contain four billion two hundred ninety-four million nine hundred sixty-seven thousand two hundred ninety-five entries?? Most users never need bigger HISTSIZE than 10k-20k entries...svin83– svin832022年12月19日 06:49:53 +00:00Commented Dec 19, 2022 at 6:49
-
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.2022年12月19日 07:16:21 +00:00Commented Dec 19, 2022 at 7:16
You must log in to answer this question.
lang-bash