From owner-freebsd-questions@FreeBSD.ORG Fri Jun 5 19:07:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B9131065672 for ; Fri, 5 Jun 2009 19:07:24 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-33.bluehost.com (outbound-mail-33.bluehost.com [69.89.18.153]) by mx1.freebsd.org (Postfix) with SMTP id 68BB18FC15 for ; Fri, 5 Jun 2009 19:07:24 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 30656 invoked by uid 0); 5 Jun 2009 19:07:24 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by outboundproxy2.bluehost.com with SMTP; 5 Jun 2009 19:07:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=UD9R8iiNxOWdf+Np9ByrfIKopBsBHiXG7Cxbwad+fCSo86EnAPCmvdWTVkbE2sht5D6iBE5VB6uT65DcpU5Em44IQ34iRny2rZIpey8IFEx4MkO3vGCFUk0EKC0btcnS; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box183.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MCel9-00039V-Op for freebsd-questions@freebsd.org; Fri, 05 Jun 2009 13:07:24 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Fri, 5 Jun 2009 13:02:00 -0600 Date: Fri, 5 Jun 2009 13:02:00 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20090605190200.GH87456@kokopelli.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <200906041406.n54E6Fts006668@dc.cis.okstate.edu> <560f92640906040929p3786dd30n9b6a11dded90a44a@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Hlh2aiwFLCZwGcpw" Content-Disposition: inline In-Reply-To: <560f92640906040929p3786dd30n9b6a11dded90a44a@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: Can a Bourn Shell Script put itself in the background? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 19:07:24 -0000 --Hlh2aiwFLCZwGcpw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 04, 2009 at 09:29:30AM -0700, Nerius Landys wrote: > Just a thought, you can use the screen utility depending on what you > are trying to do. For example if you want to start a job, long out of > the machine completely, and then return to your job to see how it's > running, you may choose to run screen. >=20 > > screen bash > (Press Control-A then d) > (Logout from shell) > (Log back in) > > screen -r =2E . . or use tmux instead of GNU Screen, if you like. I got the impression this question was about a script backgrounding itself, though -- possibly creating a daemon using bash. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Malaclypse the Younger: "'Tis an ill wind that blows no minds." --Hlh2aiwFLCZwGcpw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkopa6gACgkQ9mn/Pj01uKXhWgCeOzi1/qhBsHqPDobTixY4PtUw zHEAoOA69gRskIBJEfmdaZkP8KaFwEwH =dJy7 -----END PGP SIGNATURE----- --Hlh2aiwFLCZwGcpw--