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



If on the command line you include 2>&1 you redirect stderr to stdout.
On
Thu, 25 Oct 2018, Colomban Wendling wrote:

Date: Thu, 25 Oct 2018 04:25:16
From: Colomban Wendling <cwendling hypra fr>
To: orca-list gnome org
Subject: 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
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org

-- 



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