NOHUP
My objective is to keep a job running even when the connection is terminated. How to use nohup when running a script?thx
[134 byte] By [
Linda_B] at [2007-11-26 11:34:24]

# 2
All nohup does is block a HUP signal from being sent to the process when the shell exits. Some scripts like /bin/sh don't do that. Rarely, some applications ignore HUP.
How you enable or disable job control is shell-dependent.
man sh
man bash
man nohup
man -s 3HEAD signal
# 3
I don't believe that nohup will disconnect STDIN from the shell in all cases. When you log out, if you take STDIN with you, some programs might complain. You should also redirect STDIN to /dev/null if it's not already redirected.-- Darren