Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 13:02:00 -0600
From:      Chad Perrin <perrin@apotheon.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Can a Bourn Shell Script put itself in the background?
Message-ID:  <20090605190200.GH87456@kokopelli.hydra>
In-Reply-To: <560f92640906040929p3786dd30n9b6a11dded90a44a@mail.gmail.com>
References:  <200906041406.n54E6Fts006668@dc.cis.okstate.edu> <C96FA0139A334A87B8432652524189DB@wbt.wbtsystems.com> <560f92640906040929p3786dd30n9b6a11dded90a44a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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