How To Use “Screen” To Keep Session Alive Upon Network FailureFebruary 18th, 2008 · No Comments
Using Screen To Work RemotelyScreen is a Linux tool that allows you to keep your session alive in case your disconnected. Once you gain back remote access to your server, you can “reattach” yourself to your previous session. So for example, if you’re compiling a huge application and you get disconnected for whatever reason, the server will keep doing its thing and you will be able to get back in there later. How To Use Screen For Session ManagementFirst of all, you gotta make sure you’ve got screen installed. On CentOS / RHEL, you can use Yum:
Othewise you can surely find a compiled package for your distribution. When you want to create a new screen session, simply type
Now suppose you got disconnected, once you logged back in you can list the ongoing screen sessions:
My test server is named clapton by the way… Now to reattach to an existing session, type:
Where as in this example the session number would’ve been 14173. And when you want to end a screen session, simply type exit. You might also find other interesting options for screen in the man pages. Related Posts |
Popular PostsLatest PostsLatest Deals & Coupons
Recent Comments
Hosting ReviewsRecent WebmastersTag Cloud
1and1
apache
bluehost
centos
cheap web hosting
control panel
coupon code
coupons
cpanel
dedicated servers
dreamhost
godaddy
godaddy vs 1and1
green web hosting
hostdime
hostgator
hostpapa
iis
inmotion hosting
knownhost
linux
lunarpages
mysql
openx
php
reseller hosting
shared hosting
system administration
vps
web hosting
web hosting comparison
Web Hosting Comparisons
whm
windows
windows 2008
|
|||||||||
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment