Blast from the past.
By user12625760 on Apr 21, 2005
Here is a blast from the past that is still useful for those who don't always sit at the same desk. Ideally this problem is solved by a Sun Ray, and as soon as I have a Sun Ray laptop that can sit on any wireless network and connect to my server at Sun I'm there and this is technology can return to the '80s where it belongs.
I'm talking about the screen command (/opt/sfw/bin/screen). When running a program on a tty (yes there are somethings for which the command line is the right answer, often the only answer), run up screen prior to starting the program.
Then if you logout screen keeps running and you can use "screen -r -d" to connect to the program from another session. Hyperthetically it would allow you to start a job, that for some reason takes hours, at one site. Then go elsewhere, like the garden, with your trusty laptop, vpn in and then reconnect to the running jobs.
A life saver especially if the wireless connection can sometimes drop.