Comment: Re:Screen works welll (Score 5, Informative) 2008-06-29 22:03
by
Dr. Winston O'Boogie
on Sunday June 29, @10:03PM
(#23990783)
Attached to: Persistent Terminals For a Dedicated Computing Box?
Attached to: Persistent Terminals For a Dedicated Computing Box?
Nothing new to add, but did want to emphasize that if a text-only terminal is all you need, 'screen' is the way to go. It is one of the lesser known unix goodies, and a true "wonder tool": a tool you cannot live without once you use it.
The quick primer:
First time:
ssh mymachine
screen
<do some work>
CTRL-a-c <create another login session>
<do some more work in diff dir>
CTRL-a-1 <back to first login session>
CRTL-a-d <disconnect>
exit
Future times:
ssh mymachine
screen -r <resume screen>
CTRL-a-2 <back to second login session>
<do some work>
CTRL-a-d <disconnect>
exit
You can create many login sessions inside one screen instance or launch multiple instances of screen on the same box by giving them a name. See the man page for all the goodness.
The quick primer:
First time:
ssh mymachine
screen
<do some work>
CTRL-a-c <create another login session>
<do some more work in diff dir>
CTRL-a-1 <back to first login session>
CRTL-a-d <disconnect>
exit
Future times:
ssh mymachine
screen -r <resume screen>
CTRL-a-2 <back to second login session>
<do some work>
CTRL-a-d <disconnect>
exit
You can create many login sessions inside one screen instance or launch multiple instances of screen on the same box by giving them a name. See the man page for all the goodness.

