From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 19:00:41 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 344E416A4CF for ; Wed, 15 Dec 2004 19:00:41 +0000 (GMT) Received: from fletch.alal.com (fletch.alal.com [63.90.248.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 3550543D1D for ; Wed, 15 Dec 2004 19:00:40 +0000 (GMT) (envelope-from kovachme@pobox.com) Received: (qmail 59956 invoked by uid 1001); 15 Dec 2004 19:00:39 -0000 Date: Wed, 15 Dec 2004 14:00:39 -0500 From: Mat Kovach To: freebsd-questions@freebsd.org Message-ID: <20041215190038.GC21640@alal.com> References: <2ede6f3204121510332f0c4a52@mail.gmail.com> <20041215194002.7e7ba6e9.nico.meijer@zonnet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041215194002.7e7ba6e9.nico.meijer@zonnet.nl> User-Agent: Mutt/1.4.2.1i Subject: Re: How can I make a program keep running even after I logout? 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: Wed, 15 Dec 2004 19:00:41 -0000 On Wed, Dec 15, 2004 at 07:40:02PM +0100, Nico Meijer wrote: > Hi, > > > I want to cvsup or/and portupgrade and logout but the program keep > > running? > > Try screen: /usr/ports/misc/screen > > To run it, simply type `screen`, do your work, type "Ctrl-A d" to detach > (you can go home now). Log in again, type `screen -r`. Be happy. You can also use nohup man 1 nohup But screen is an excellent choice also but might be over kill for this specific purpose. I use something like: $ nohup sudo cvsup -g -L 2 /etc/cvsupdate & appending output to /home/kovachme/nohup.out -- Mat Kovach Cleveland, Ohio