Re: [orca-list] Linux Mint MATE terminal questions




Hi,

Le 25/10/2018 à 02:43, Matt - Envrin Group via orca-list a écrit :
Yes, I output to text files all the time (eg. "php test5.php > output.txt"),
but it only seems to give STDOUT, and still outputs STDERR to the
terminal, which can cause a headache when compiling a program doesn't
go your way.

You can use "&>" (without the quotes) instead of ">" to redirect both
stdout and stderr:

        command &> output.txt

Regards,
Colomban


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