Save complete GNU screen session state
Is it possible to persist the “state” of a GNU screen window (or just a standard shell) so that I can reload everything after a reboot:
Is it possible to persist the “state” of a GNU screen window (or just a standard shell) so that I can reload everything after a reboot:
I have noticed that a logoff (log out) from my X user session will kill any tmux session I have initiated, even sessions I had run with sudo tmux and similar commands. I am sure that this formerly did not happen, but some recent change has effected this behavior.
By default, the title of a screen session is the name of the last command entered, which is fine for me, but in some cases I’d like to change it. I know the command Ctrl–A A, but it only changes the title until the next command, and I’d like it to stay there until I decide otherwise.
This is my current .screenrc files which is mostly copied from the link in the code
I’ve accidentally attached to a 2nd GNU screen session from within an existing screen session and cannot detach or issue commands to the inner screen. I remember figuring out how to do that before but completely forgot and would like to keep it as reference.
I am setting up a server where there are multiple developers working on multiple applications.
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?
I want to run a bash script in a detached screen. The script calls a program a few times, each of which takes too long to wait. My first thought was to simply open a screen and then call the script, but it appears that I can’t detach (by ctrl-a d) while the script is running. So I did some research and found this instruction to replace the shebang with following:
When I do this in my terminal: