help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] exec > >(tee -a foo.log) alternative?


From: adrelanos
Subject: [Help-bash] exec > >(tee -a foo.log) alternative?
Date: Sat, 21 Dec 2013 22:04:30 +0000

Hi!

exec >  >(tee -a foo.log)
exec 2> >(tee -a foo.log >&2)

Is there any alternative to the above statements? I find it troublesome,
that these processes aren't cleaned up after the script terminated.

Is it also recommended/possible to avoid involving "tee"? For
performance reasons maybe?

Cheers,
adrelanos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]