shell redirect
am 27.11.2007 21:19:40 von PatriceHi,
Is it possible to redirect
stdout, stderr of the current shell
something like :
exec xx > test.log 2> test.err
Thanks in advance
Hi,
Is it possible to redirect
stdout, stderr of the current shell
something like :
exec xx > test.log 2> test.err
Thanks in advance
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
>
>
"Janis Papanagnou"
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 ...