Can a Bourn Shell Script put itself in the background?
perrin at apotheon.com
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: http://owl.apotheon.org ]
Quoth Malaclypse the Younger: "'Tis an ill wind that blows no minds."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090605/a7a03ae4/attachment.pgp
More information about the freebsd-questions