On Tue, Apr 6, 2021 at 3:38 AM Oğuz <oguzismailuy...@gmail.com> wrote: >> Yeah. If you have /dev/fd though you have /dev/fd/1 (and even /dev/stdout), >> so OP could have done `echo a | tee /dev/fd/1 >/dev/tcp/host/port' instead > > > That should have been `echo a | tee /dev/fd/3 3>&1 >/dev/tcp/host/port'
Nice strategies. -- konsolebox