Date: Wed, 31 Mar 2004 13:28:41 +0800 (PHT) From: rfa@msumain.edu.ph To: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>, freebsd-questions@freebsd.org Subject: Re: log off with process running Message-ID: <1789.203.177.105.170.1080710921.squirrel@bayok.msumain.edu.ph> In-Reply-To: <4063A1E8.7040008@daleco.biz> References: <20040326092248.4845573e.y2kbug@ms25.hinet.net><1080264423.630.11.came l@gandalf> <4063A1E8.7040008@daleco.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
>>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. > I was wondering if I did something like this using putty: #nohup btlaunchmany.py . & and then the session was terminated because of a power spike, how could I put the process back into the foreground after logging in again so I could see its statistics? I wouldnt want to use redirection because it would probably use too much disk. Thanks, Rommel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1789.203.177.105.170.1080710921.squirrel>