My current screen session has 12 open windows on it. It's been running for weeks... I know I executed an ImageMagick convert command in one of these 12 screen windows sometime last week... is there any way I can easily search through the Bash history of all 12 instances, without closing them or running history | grep convert in all 12 screens?
Can I easily search my history across many screen windows?
bash;gnu screen;command history
You can run history -a; history -c in all windows to save the history. And then history -r to refresh it.To solve it more permanently add this to your .bashrc:export PROMPT_COMMAND=history -a; history -c; history -r; $PROMPT_COMMAND