SUMMARY: remote shell log

From: Guilherme Teixeira de Araujo <garaujo_at_usiminas.com.br>
Date: Fri, 09 Feb 2001 10:48:07 -0200

Thanks to Alex Harkema, Hannes Visagie

./script | tee -a /logdir/logfile





-----Original Message-----
From: Guilherme Teixeira de Araujo [mailto:garaujo_at_usiminas.com.br]
Sent: Friday, February 09, 2001 1:33 PM
To: 'tru64-unix-managers_at_ornl.gov'
Subject: remote shell log
Importance: High


Hello managers,
 
I need to execute a script using remote shell from my PC and save a log file
with the output. But if I use, for example (./test > output.log) I can't see
the output at the same time that script is running.
Is it possible to see script execution and write a log file at the same
time?
The solution with 'nohup script > output_file &' and 'tail -f <output_file)'
does not resolve my problem.

Any ideas/hints?

Thanks
Guilherme Araujo
Received on Fri Feb 09 2001 - 12:47:49 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT