Re: Impossible redirect console buffer to log

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



El vie., 1 mar. 2019 a las 19:30, Ralph Corderoy
(<ralph@xxxxxxxxxxxxxxx>) escribió:
>
> 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.

Nothing happens, it closes and the process does not start

root@arch:~# LC_ALL=C strace -ff -o st /usr/local/bin/cccam -d
root@arch:~#
root@arch:~#




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux