Hi,

Use tee command

$ (command) | tee <filename>

where filename is file where you want output to be redirected.
Lalit
----- Original Message -----
From: "D.Venkatasubramanian, Noida" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 5:41 PM
Subject: [ilugd]: Stdout and redirection


> Hi,
> How can I both redirect and write to the standard output at the same time?
>
> I am using bash.
>
> Thanks and Regards,
> Venky
>
>           ================================================
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in
subject header. Check archives at
http://www.mail-archive.com/ilugd%40wpaa.org
>

**************************Disclaimer************************************************** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************



Reply via email to