[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: BASH help



 
Thanks, that did the trick.

 
Tony Heal
Pace Systems Group, Inc.
800-624-5999
theal@pace2020.com
 

-----Original Message-----
From: Henry Luciano [mailto:cuncator@mote.org] 
Sent: Monday, June 12, 2006 3:52 PM
To: theal@pace2020.com
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 debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: