[arch-general] Impossible redirect console buffer to log

Ralph Corderoy ralph at inputplus.co.uk
Fri Mar 1 18:25:50 UTC 2019


Hi Maykel,

> > command &> out
>
> Not works... I probe all combinations:
>
> > file redirects stdout to file
> 1> file redirects stdout to file
> 2> file redirects stderr to file
> &> file redirects stdout and stderr to file

Can you show us one complete command with `&>' in case there's something
else wrong?

Otherwise, `LC_ALL=C strace -ff -o st /usr/local/bin/CCcam -d'
will capture the write(2)s or similar and you can see what file
descriptors its writing to and work backwards to see how that was
obtained, e.g. by opening /dev/tty.

-- 
Cheers, Ralph.


More information about the arch-general mailing list