Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 20:03:35 +0100
From:      "O. Hartmann" <ohartman@uni-mainz.de>
To:        Mat Kovach <kovachme@pobox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How can I make a program keep running even after I logout?
Message-ID:  <41C08A87.9020703@uni-mainz.de>
In-Reply-To: <20041215190038.GC21640@alal.com>
References:  <2ede6f3204121510332f0c4a52@mail.gmail.com> <20041215194002.7e7ba6e9.nico.meijer@zonnet.nl> <20041215190038.GC21640@alal.com>

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



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