Hi All,
when i use history command i got the last 1000 command
i want to increase this to 10000
how can i do that
Read your shell's man page.
Hi RudiC
history man page i found
the history shell variable may be set to the maximum number of command lines that will saved in the history file, that is:
set history = 200
and on google
i found another way
HISTFILESIZE = 200
HISTSIZE = 200
what i don't know the difference between the 2 way
man bash:
HISTSIZE commands are kept "online" in an interactive session, whilst up to HISTFILESIZE commands will be saved between sessions. The set history
doesn't ring a bell.
1 Like
thank you RudiC for your support and learning how to find all what i need in man