Unlimited / longer bash history

in:

gedit ~/.bashrc

 

export HISTFILESIZE=
export HISTSIZE=
export HISTTIMEFORMAT="[%F %T] "
export HISTFILE=~/.bash_eternal_history
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"

before make copy of bash history

cp ~/.bash_history ~/.bash_history_copy