Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Starting a remote process on unix

Status
Not open for further replies.

liwenkuo

Programmer
Oct 18, 2001
9
US
Hello all,

I am trying to start a remote process on a unix box (a shell script that will kick of a Java program).

Rigth now, I can Telnet in and run the process. However this process is dependent and tied to my Telnet session. If I kill my Telnet session, then the java program shuts down too.

Is there a way to kick these processes off via Telnet (or some other method, without having be do it at the Unix box itself) so that it will run as an independent process on the unix box itself? (rlogin?/etc?).

Thanks
Li
 
Look at the "nohup" command (man nohup). This makes commands immune to hangups and writes to a non-tty creating a file for stdout called nohup.out. d3funct
zimmer.jon@cfwy.com
The software required `Windows 95 or better', so I installed Linux.

 
Try [tt]nohup /your/command &[/tt].
I hope it works...
Unix was made by and for smart people.
 
Hello All,

Your solutions worked like a charm. Thanks.

Cheers,
Li
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top