shell redirect
Hi,
Is it possible to redirect
stdout, stderr of the current shell
something like :
exec xx > test.log 2> test.err
Thanks in advance
Re: shell redirect
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
>
>
Re: shell redirect
"Janis Papanagnou" <Janis_Papanagnou [at] hotmail.com> a écrit dans le message de
news: fihv01$rv5$1 [at] online.de...
> 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.)
Thanks
yes it is in a script ...