Re: OT: screen command
--- Stuart_Luscombe@computacenter.com <Stuart_Luscombe@computacenter.com> (2001-09-27 19:10):
> When I am SSH'd into a server and then use the screen command, how do
> I detach/re-attach the screen if I am in the middle of running a
> process (apt/vim document etc.). I have read the man file and it talks
> about 'C-a' commands, but I cannot seem to work these out. I have
> tried Ctrl+alt, but this does not seem to work...
When you're in screen, use Control-a Control-d (hold down control and
press a then d) to detach the session (and return you to your shell).
You can then reattach with "screen -r". You can also use "screen -ls"
to list all screen sessions and their pids, in order to connect to a
specific screen session. And you can use "screen -x" to connect to an
already connected screen session (I generally use -x instead of -r,
since it does more :).
Man screen will give you way more options... :)
Cheers,
Sean
--
Sean Quinlan (smq@gmx.co.uk)
Reply to: