log off with process running

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Thu Mar 25 19:22:20 PST 2004


Augusto Jun Devegili wrote:

>nohup is a possible solution; check its man page.
>
>Example:
>
>$ nohup wget http://server/big.iso &
>
>On Fri, 2004-03-26 at 05:22, Robert Storey wrote:
>  
>
>>I want to log off and hang up the modem. The question is, how to do so? With the
>>above process running, I can't even get back to the command line to type "exit"
>>(and wouldn't typing "exit" kill any process I'm running?). Ditto if I hit
>>ctrl-c. I suppose I could just hang up the modem, but that's not elegant.
>>    
>>
>
>  
>

Screen, nohup, etc; all great answers.

Just for curiosity's sake, isn't standard redirection
the first thing to think of?

#cvsup /ports-via-modem.sup > /root/cvsuplog &

Wanna get it back?

#jobs
[1]  + Running                       cvsup /ports-via-modem.sup > 
/root/cvsuplog

Wanna keep it in the bg, but check its current status?

$tail -f  /myhome/cvsuplog

Willing to be educated,

Kevin Kinsey
DaleCo, S.P.



Kevin Kinsey
DaleCo, S.P.


More information about the freebsd-questions mailing list