From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 19:03:06 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 E0E1A16A4CE for ; Wed, 15 Dec 2004 19:03:06 +0000 (GMT) Received: from mailgate2.zdv.Uni-Mainz.DE (mailgate2.zdv.Uni-Mainz.DE [134.93.178.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 648A043D5D for ; Wed, 15 Dec 2004 19:03:06 +0000 (GMT) (envelope-from ohartman@uni-mainz.de) Received: from [134.93.183.16] (edda.Geo.Uni-Mainz.DE [134.93.183.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailgate2.zdv.Uni-Mainz.DE (Postfix) with ESMTP id 6839B3000CBC; Wed, 15 Dec 2004 20:03:05 +0100 (CET) Message-ID: <41C08A87.9020703@uni-mainz.de> Date: Wed, 15 Dec 2004 20:03:35 +0100 From: "O. Hartmann" Organization: Institut =?ISO-8859-1?Q?f=FCr_Geophysik?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.7.3) Gecko/20041113 X-Accept-Language: de-de, en MIME-Version: 1.0 To: Mat Kovach References: <2ede6f3204121510332f0c4a52@mail.gmail.com> <20041215194002.7e7ba6e9.nico.meijer@zonnet.nl> <20041215190038.GC21640@alal.com> In-Reply-To: <20041215190038.GC21640@alal.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at uni-mainz.de cc: freebsd-questions@freebsd.org 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:03:07 -0000 Mat Kovach schrieb: >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 > > > Another way is using daemon(8) which seems in many cases much more useful than nohup.