Can a Bourn Shell Script put itself in the background?

Polytropon freebsd at
Sat Jun 6 02:54:32 UTC 2009

On Fri, 5 Jun 2009 13:02:00 -0600, Chad Perrin <perrin at> wrote:
> . . . 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.

Maybe using detach (from ports) is a solution. It let's you
decouple a program from the controlling terminal session, so
it can be run in the background even if you logged off.

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list