screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
128
votes
11answers
38k views
Can I nohup/screen an already-started process?
I'm doing some test-runs of long-running data migration scripts, over SSH. Let's say I start running a script around 4 PM; now, 6 PM rolls around, and I'm cursing myself for not doing this all in ...
37
votes
12answers
35k views
How to reconnect to a disconnected ssh session
Is there a way to connect to an ssh session that was disconnected? We are having problems with our network connection to a remote site that we are working on separately; however, in the mean time we ...
37
votes
5answers
21k views
Moving an already-running process to Screen
My office job routinely sees me connected to a Linux box via VNC.
Sometimes I start a remote job on the console, and realize later that it runs much longer than expected. (Should have started that ...
39
votes
9answers
26k views
Is it possible to detach a process from its terminal? (Or, “I should have used screen!”) [duplicate]
Possible Duplicate:
Can I nohup/screen an already-started process?
On Unix (specifically, Linux), I've started a job in a regular ssh->bash session. I'd like to leave work soon, but I now ...
15
votes
4answers
13k views
putty and screen and scroll-back buffer [closed]
When I use screen inside a putty session, I can't seem to use the scrollback buffer of putty to look at whatever just scrolled off the screen. Instead, I just see what was happening in the putty ...
10
votes
3answers
11k views
Set xterm (PuTTY) window title when using screen?
I am trying to get screen to set my xterm title. I have this working outside of screen, but screen keeps whatever title was in place when I started it. Here is my .bashrc:
function ...
6
votes
2answers
764 views
Does tmux have all the features that screen has? And those screen is missing?
I'm considering switching from screen to tmux, but I've invested lots of time developing an extensive .screenrc, and I don't want to find after many hours of porting it to tmux that tmux can't do ...
9
votes
2answers
4k views
Can I send some text to the STDIN of an active process running in a screen session?
I have a long-running server process inside a screen session on my Linux server. It's a bit unstable (and sadly not my software so I can't fix that!), so I want to script a nightly restart of the ...
4
votes
4answers
2k views
GNU screen loses (parts of) command histories
I use GNU screen with 5 different sessions, each of which stores its own command history. But often I don't find a command in the history, although I'm sure I've used it exactly in the session I'm ...
2
votes
2answers
1k views
Can you screen a running programme? [duplicate]
Possible Duplicate:
Can I nohup/screen an already-started process?
GNU screen is great for long running programmes. You can start your programme in it and disconnect and bring your laptop ...
0
votes
2answers
383 views
How can I go back in the (GNU) screen command history? (NOT shell command history!)
Currently, when I enter ^a : (control-A followed by ':') to send a command to GNU screen, I can go back one step in the history, and see exactly ONE previous command. This is really annoying, as I'm ...