From owner-freebsd-questions Thu Apr 26 21:24: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f108.law11.hotmail.com [64.4.17.108]) by hub.freebsd.org (Postfix) with ESMTP id E0A8837B422 for ; Thu, 26 Apr 2001 21:24:04 -0700 (PDT) (envelope-from burnscharlesn@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 26 Apr 2001 21:24:04 -0700 Received: from 64.20.170.19 by lw11fd.law11.hotmail.msn.com with HTTP; Fri, 27 Apr 2001 04:24:04 GMT X-Originating-IP: [64.20.170.19] From: "Charles Burns" To: ggeisbert@e-centives.com, mlivingstone@ottawa.com Cc: freebsd-questions@freebsd.org Subject: Re: how to run process in background? Date: Thu, 26 Apr 2001 21:24:04 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Apr 2001 04:24:04.0790 (UTC) FILETIME=[E4C3D560:01C0CED1] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > How do i run a process in background except for using "screen" and "&" > > syntax? when i type "whatever &" and then exit my shell.. it tells me >that > > the process is SIGHUPED (hangup, whatever..).. seems like it's running > > after that ok.. but i don't know how to reattach to it. > > > > is there another way? i heard about "fork". but man page doesn't say >mcuch > > >nohup command & > >// Gary > You can also hit CTRL-Z to put the current process in the background. When you do this it will tell you the background process number, usually starting with 1. You can then type "fg (number)" to bring it back or just "fg" if you only have one background process. This probably doesn't solve your problem, but it is another way to run a process in the background. (just an FYI) _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message