Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 08:52:20 -0400
From:      "Ryan Dewalt" <rdewalt@meridianksi.com>
To:        "Troy" <freebsd@untoldfaith.com>
Cc:        <freebsd-newbies@freebsd.org>
Subject:   RE: disconnect and reconnect how to keep jobs running
Message-ID:  <586382797A07B841B4014F547581E0AF3447@mailx.meridianksi.net>

index | next in thread | raw e-mail

-----Original Message-----
From: Troy [mailto:freebsd@untoldfaith.com]
Sent: Wednesday, October 23, 2002 1:10 AM
To: freebsd-newbies@freebsd.org
Subject: disconnect and reconnect how to keep jobs running


Hello,
A  quick  question.   How  do I disconnect from say a ssh session and leave jobs
running,  then  get to my house (where the machine is located) then reconnect to
the session and the running jobs?  Is this possible?

Thanks,

Troy


Install from the ports tree "screen" (in /usr/ports/misc/screen)
then to start a job, prepend "screen" to the command.  (ex:  screen tail -f /var/log/messages)
To disconnect from the screen, press ctrl-a, ctrl-d
To reconnect to the screen, type "screen -r"

Screen has far more functionality than this, but this should be enough to get you started.

Hope this helps,
-Ryan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?586382797A07B841B4014F547581E0AF3447>