O'Reilly logo

A Practical Guide to Linux® Commands, Editors, and Shell Programming, Third Edition by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tutorial

This tutorial follows Sam as he works with screen. Sam has some work to do on a remote system he connects to using ssh (Chapter 17). The connection Sam uses is not reliable and he does not want to lose his work if he gets disconnected. Also, it is late in the day and Sam wants to be able to disconnect from the remote system, go home, and reconnect without losing track of what he is doing.

Working from the system named guava, Sam uses ssh to connect to plum, the remote system he wants to work on:

[sam@guava ~]$ ssh plumLast login: Sat Feb 23 11:48:33 2013 from 172.16.192.1[sam@plum ~]$

Next he gives the command screen without any options or arguments. Sam’s ~/.screenrc on plum is the same as the one shown on the preceding page. The

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required