when I open terminal session A, type some commands , and then type "history" I see the commands that I was running, but then if I open another terminal session (B) and type "history" I don't see the commands that were typed in to the session A terminal.
how can I sync the history of all terminal sessions in to one file, so when I type "history" from one terminal session I will se the commands from all the sessions?