appending both stderr and stdout to a single file

Marq vikramns at gmail.com
Thu Mar 8 11:25:17 UTC 2007


Hi

ls >> dirlist 2>>&1

this will redirect stdout first and then the stderr

but i need to redirect the both output as it appear in the screen (with out
redirection)


On 3/8/07, Anmol Bedi <anmolbedi at gmail.com> wrote:
>
> ls >> dirlist 2>>&1
>
> will direct both standard output and standard error to the file dirlist
> Regds
> Anmol Bedi
>
>
> On 3/8/07, Marq <vikramns at gmail.com> wrote:
> >
> > Hi
> >
> > how to append both the stderr and stdout to a single file
> >
> > --
> > Thanks and Regards
> > ------------------------------
> > N S Vikram,
> > Mobile : 09486148402
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> With warm regards,
>
> Anmol Bedi
>
> Life is a journey...not a destination. Enjoy the trip!
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Thanks and Regards
------------------------------
N S Vikram,
Mobile : 09486148402



More information about the redhat-list mailing list