LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   remote login (https://www.linuxquestions.org/questions/linux-networking-3/remote-login-193187/)

BRAHmS 06-13-2004 10:36 PM

remote login
 
i login Linux Server from PC with Exceed and run my program.but,the programe will be halted or canceled if network is disconnect. for a big program,it maybe take 2~3 days. it is very regret.

is there any command or shell script solving the type program?

crabboy 06-13-2004 10:56 PM

Run your program with the nohup command. nohup prevents the program from terminating if the shell is lost.

Code:

nohup ./programName &
The programs stdout will be written to a file called nohup.out

BRAHmS 06-14-2004 02:51 AM

thanks ur reply!

but,i cann't find the last command thread after i login Linux again.

why?


All times are GMT -5. The time now is 07:36 PM.