You're viewing a comment by Peter Krumins and its responses.

February 19, 2008, 21:27

Cunningham, all the terminals interact with your shell program. The shell program manages the history. The terminals are just computer interfaces for text entry and display, they do not know about your shell history.

I think if you closed all your terminals and run them all, then pressing key-up would display the same command from history.

When you have executed a bunch of commands on each of the terminals and you close them, bash overwrites .bash_history again and again with history in each session.

You should see my previous comment I answered Josh on how to have a unified .bash_history accross all bash sessions (no matter what terminal).

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "quake3_42": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.