From owner-freebsd-questions@FreeBSD.ORG Thu Mar 25 17:24:38 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D06416A4CE for ; Thu, 25 Mar 2004 17:24:38 -0800 (PST) Received: from muon.et.endace.com (et.endace.com [219.88.101.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6E9B43D41 for ; Thu, 25 Mar 2004 17:24:37 -0800 (PST) (envelope-from richard@endace.com) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0)i2Q1OYia025091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 26 Mar 2004 13:24:35 +1200 Date: Fri, 26 Mar 2004 13:24:34 +1200 From: Richard Stevenson To: Robert Storey In-Reply-To: <20040326092248.4845573e.y2kbug@ms25.hinet.net> Message-ID: References: <20040326092248.4845573e.y2kbug@ms25.hinet.net> Comments: PGP Public Key on keyservers: Key ID FA6D9719 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: log off with process running X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 01:24:38 -0000 Hi On Fri, 26 Mar 2004, Robert Storey wrote: > Suppose I'm at home with a dial-up connection to the Internet. At the school > where I work we have a server running FreeBSD with a full-time connection (T1 > line). So from home, I log onto the school's server with ssh, and start a > process that will run for a long time, maybe something like this: > > wget ftp://ftp.freebsd.org/pub/bigfile.iso > > OK, that download might run for hours. I don't want to stay connected for hours, > I want to log off and hang up the modem. The question is, how to do so? With the > above process running, I can't even get back to the command line to type "exit" > (and wouldn't typing "exit" kill any process I'm running?). Ditto if I hit > ctrl-c. I suppose I could just hang up the modem, but that's not elegant. > > So what is the elegant solution? Try this: at now at> wget ftp://ftp.freebsd.org/pub/bigfile.iso ^D It'll start running in the background straight away, and mail you any output. Cheers Richard -- Richard Stevenson Violence is the last resort of the incompetent. The competent, of course, make it their *first* resort.