redirects GNU tee outputs to a shared memory directory