Mailing List Archive


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

Re: [tlug] stdin/stderr redirection under Solaris




--- Jean-Christian Imbeault
<jean-christian.imbeault@example.com> wrote:

> Gerald Naughton wrote:
> > 
> > Try bash
> >   cmd > file 2>&1
> 
> Won't that put the output of the cmd into a file? I
> want to pipe the two 
> outputs (stdout and stderr) to another program (two
> different programs; 
> well actually the same prog with different
> parameters).
>
this may work
cmd1 2>&1 | cmd2

g



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links