The "screen" utility can be used if you want to run something on a linux box / server to run continuously without disconnecting when the session ends. It can also be used for training as more than one person can connect to a screen at a time to see what is happening in that particular session.
Initialize a single session screen
screen -St screenName screenName The first "screenName" parameter is to set the name of the screen The second "screenName" is the name of the screen's session (this allows you to see "screenName" when you list your sessions and some random PID)
Exit from screen (detach) without closing
CTRL+A then CTRL + D
List your available screens
screen -ls
Re-Connect to screen
screen -x screenname
By PHPin24 @ 2009-08-23 13:35:10
|