Thanks, that did the trick.

 
Tony Heal
Pace Systems Group, Inc.
800-624-5999
[EMAIL PROTECTED]
 

-----Original Message-----
From: Henry Luciano [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 12, 2006 3:52 PM
To: [EMAIL PROTECTED]
Cc: 'Debian'
Subject: Re: BASH help

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