nohup stdout
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > nohup stdout




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    nohup stdout  
sukhpreet


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-04 01:49 PM

i have an expect script "E" that telnets to a remote machine and runs
a script "A" that in turn runs a script "B". B takes a long time to
run and I wanna run it nohup in case i lose my telnet connection. I'm
happy with nohup redirecting stdout to nohup.out or some file i
specify. but i also want to see the output on the screen when the
script is working. i.e. is there any way to get nohup to display the
output to my screen in addition to logging it to a file?


i'd appreciate the help.

regards,
sukh





[ Post a follow-up to this message ]



    Re: nohup stdout  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-04 01:49 PM

On 4 Aug 2004 06:33:31 -0700, sukhpreet
<sukhpreet76@yahoo.com> wrote:
> i have an expect script "E" that telnets to a remote machine and runs
> a script "A" that in turn runs a script "B". B takes a long time to
> run and I wanna run it nohup in case i lose my telnet connection. I'm
> happy with nohup redirecting stdout to nohup.out or some file i
> specify. but i also want to see the output on the screen when the
> script is working. i.e. is there any way to get nohup to display the
> output to my screen in addition to logging it to a file?
>

nohup whatever | tee nohup.out

--
The truth you speak has no past and no future.  It is, and that's all it
needs to be.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:35 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register