Tony Heal wrote:
I know that I run a script and direct it's output to a file
/path/script > /path/file is there a way to direct the output to both the screen and a file at the same time?

The tee command is what you're looking for.

E.g. /path/script | tee /path/file

--
Henry Luciano   Mote Marine Laboratory
IS Director     941-388-4441 x409

"... que toda la vida es sueño
 y los sueños, sueños son."  -  Pedro Calderon de la Barca


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to