Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: telnet: how to get a process to stay alive after disconnecting?



> I want to get a process started via telnet and have it finish on its own
> after I have disconnected and just collect the error messages. How do I
> do that? 
> 
> Thanks, Uli
> 

Use nohup.

bash:
nohup myprog > errorlog 2>&1 &

zsh: 
nohup myprog >& errorlog 2>&1 &
disown %1

tcsh:
nohup myprog >& errorlog &

The error messages get deposited in the errorlog file.

Shimpei.


--------------------------------------------------------------------
Next Nomikai Meeting: June 16 (Fri), 19:00   Tengu TokyoEkiMae
Next Technical Meeting: July 8 (Sat) 13:30   Topic: TBA
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links