shell redirect

shell redirect

am 27.11.2007 21:19:40 von Patrice

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

am 27.11.2007 21:34:08 von Janis Papanagnou

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

am 27.11.2007 21:53:37 von Patrice

"Janis Papanagnou" a écrit dans le message de
news: fihv01$rv5$1@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 ...