I have a backup program on my unix box. I run it manualy and normaly start it from the terminal. But i would like to be able to start it up threw a telnet session. I was told that i had to leave teh telnet setion open untel the backup was complete, cuase if i closed the telnet the process would stop. Is this True and if so is there a way around it?
nohup ./backup_script 1> log_file 2>&1 &
Then logout. You will get a warning that you have running jobs, but go ahead and logout anyway. The 'nohup' tells the command to keep running even when its parent shell goes away. You may want to log back in afterwards and check using 'ps' to see that it is still running.