I love my bash history. Sometimes I've issued really long commands and I really depend on my bash history to get them back quickly. I've increased my history size with:
HISTSIZE=100000
HISTFILESIZE=200000
in my .bashrc
I also have aliases:
alias h='history | tail'
alias hg='history | grep'
which allow me to do h
and hg some_text
which is really handy
My question is: Can I move this history file to a new machine? For instance my machine recently crashed and I had to rebuild it. Would I have any issues dropping a different .history file in, possibly replacing the one already there. Do I need to make sure to replace it or can I actually append two history files together without issue?