Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 14:00:39 -0500
From:      Mat Kovach <kovachme@pobox.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How can I make a program keep running even after I logout?
Message-ID:  <20041215190038.GC21640@alal.com>
In-Reply-To: <20041215194002.7e7ba6e9.nico.meijer@zonnet.nl>
References:  <2ede6f3204121510332f0c4a52@mail.gmail.com> <20041215194002.7e7ba6e9.nico.meijer@zonnet.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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