[svlug] daemonize a bash script

Ivan Sergio Borgonovo mail at webthatworks.it
Fri Jun 9 13:34:38 PDT 2006

On Fri, 9 Jun 2006 13:01:48 -0700
"Tomer" <tomer at pacbell.net> wrote:

> Hi All,
> If Im ssh'ed to a remote machine as root and want to run a bash
> script that I have in my /root directory and then have it keep
> running after I disconnect my ssh session, what's the best/easiest
> way to do it?

script 2>script.err.log 1>script.log &


screen - screen manager with VT100/ANSI terminal emulation

a bit different from daemonizing but I think it is what you're looking for.

More information about the svlug mailing list