background process

Hi

When I run ./script.sh &
the script runs in bg

But when I close the telnet session, the script is killed also.

any idea how to keep this script running?

thx

'man nohup'

nohup ./script &

well yes but the output will be redirected then to nohup.log whereas I want the scripts redirects to a specific file and this is not working when using nohup

thanks

so do the redirection yourself:
nohup './script.sh' >/tmp/myNohup.out$$ 2>&1 &