From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 18:51:56 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 1B89116A4CE for ; Wed, 15 Dec 2004 18:51:56 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E50443D39 for ; Wed, 15 Dec 2004 18:51:52 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])iBFIpoYS007787; Wed, 15 Dec 2004 20:51:50 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) iBFIpoJo001145; Wed, 15 Dec 2004 20:51:50 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)iBFIpoU9001144; Wed, 15 Dec 2004 20:51:50 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 15 Dec 2004 20:51:49 +0200 From: Giorgos Keramidas To: Rae Kim Message-ID: <20041215185149.GA1110@orion.daedalusnetworks.priv> References: <2ede6f3204121510332f0c4a52@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2ede6f3204121510332f0c4a52@mail.gmail.com> 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 18:51:56 -0000 On 2004-12-15 13:33, Rae Kim wrote: > I connect to my computer from school computer. > I want to cvsup or/and portupgrade and logout but the program keep running? Put it in the background. Optionally, you may wish to redirect its output to a file and use tail -f on that file to see how things are progressing: bash-2.05b$ ( cvsup -g -L 2 -h cvsup.example.net > logfile 2>&1 ) & bash-2.05b$ disown %1 bash-2.05b$ exit The example shown above works for GNU bash, hence the prompt. Other shells have ways of doing the same thing too. - Giorgos