Unix screen Command in 30 Seconds
If you use shells and you use wireless or laptops (or the switches at your work keep getting rebooted, etc.) you’ll appreciate the benefit of having a shell session that’s persistent across multiple logins.
Here’s the quick tutorial:
screen
start screen for the first time
screen -d -r
reattach to an old session
C-a
issue a command from within screen, important ones below.
C-a c
new window, (like a tab).
C-a “
prompt and switch to a new window.
C-a #
switch to the window at that number.
C-a C-a
switch to the last window
C-a ESC
scroll mode
Tags: tech

May 16th, 2005 at 8:57 pm
It has been a long time since I’ve used screen. For a long time it was among my favorite unix utils.
I used to use it to start interactive jobs, and then travel home. I could reconnect to the sessions afterwards, and pick up where I left off.