Skip to main content

You can use history -ahistory -a to append the current session's history to the histfile, then use history -rhistory -r on the other terminals to read the histfile.  

You can use history -a to append the current session's history to the histfile, then use history -r on the other terminals to read the histfile.

You can use history -a to append the current session's history to the histfile, then use history -r on the other terminals to read the histfile.  

Post Merged (destination) from unix.stackexchange.com/questions/48111/…
Post Migrated Here from stackoverflow.com (revisions)
Source Link
jtimberman
  • 211
  • 1
  • 4

You can use history -a to append the current session's history to the histfile, then use history -r on the other terminals to read the histfile.