Taking Command of the Terminal with GNU Screen
Feb 12, 2010, 09:03 (2 Talkback[s])
(Other stories by Joe 'Zonker' Brockmeier)
"GNU Screen is one of the most useful utilities you can have at
your disposal if you spend any time at all working at the command
line. Screen allows you to manage multiple shell sessions from one
terminal window or console, view multiple shell sessions at the
same time, and even log into the same session from more than one
location at a time.
"The screen utility is a "window manager" that allows you to
organize and work with multiple shell sessions in a very powerful
way. Utilizing screen, you can manage shell sessions in all kinds
of useful ways. This tutorial will show you how to display two or
more sessions simultaneously in the same window, "detach" from a
session and log in later, and even log into the same session from
more than one system.
"One note about the commands shown in this tutorial: They are
case-sensitive, so Ctrl-a S is not the same as Ctrl-a s. Also, GNU
Screen runs on a lot of platforms. This tutorial specifically
focuses on newer releases of Screen found on modern Linux releases
such as openSUSE 11.2 and Ubuntu 9.10. If you're running an older
Linux release or using Screen on Mac OS X or another Unix-based
system, some behavior may be different. For example, Mac OS X Snow
Leopard ships with Screen 4.00.03, which is a bit on the older side
compared to Screen on the version shipping with modern Linux
distros.
Complete Story
Related Stories: