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 ]
|