Can a Bourn Shell Script put itself in the background?

Chad Perrin perrin at
Fri Jun 5 19:07:24 UTC 2009

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.
> > screen bash
> (Press Control-A then d)
> (Logout from shell)
> (Log back in)
> > screen -r

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

Chad Perrin [ original content licensed OWL: ]
Quoth Malaclypse the Younger: "'Tis an ill wind that blows no minds."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list