Daemonizing bash process

How to fork/exec/spawn a process in bash,
closing open file descriptors.

Comments