Unix Shell - shell redirect

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > November 2007 > shell redirect





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author shell redirect
astalavista

2007-11-27, 7:21 pm

Hi,

Is it possible to redirect
stdout, stderr of the current shell
something like :
exec xx > test.log 2> test.err

Thanks in advance


Janis Papanagnou

2007-11-27, 7:21 pm

astalavista wrote:
> Hi,
>
> Is it possible to redirect
> stdout, stderr of the current shell
> something like :
> exec xx > test.log 2> test.err


exec > test.log 2> test.err

(Not sure how that would make sense in an interactive shell, though.)

Janis

>
> Thanks in advance
>
>

astalavista

2007-11-27, 7:21 pm


"Janis Papanagnou" <Janis_Papanagnou@hotmail.com> a écrit dans le message de
news: fihv01$rv5$1@online.de...
> astalavista wrote:
>
> exec > test.log 2> test.err
>
> (Not sure how that would make sense in an interactive shell, though.)

Thanks
yes it is in a script ...


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com