I love using screen at work, especially while I’m in a PuTTy session. Basically, screen lets you open up another bash session without disrupting a current bash session in the same window. So I can open one PuTTy session and with screen emulate multiple. This is nice because I can do something different in each screen session without loosing my place in another. Trust me, it’s awesome.
apt-get install screen
or (depends on your distribution and packet manager)
yum install screen
Create a screen by typing the command:
Super easy, to detach from a screen:
Now what? There is now a floating screen session someone. How do you reconnect to it? First you can list all screen session with:
With knowledge of what screens exist, you can reconnect to one with the command:
To kill the current screen, use:
Other helpful shortcuts can be found by pressing:
CTRL+”a” release “?”
There you have it! Manage your screens wisely.