From 9860d0ace6d0820467305a60a843085999587591 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 26 Dec 2024 08:57:41 +0200 Subject: [PATCH] greater-than: improve example (#15209) --- pages/common/greater-than.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/greater-than.md b/pages/common/greater-than.md index cf0006ca1..e13327ede 100644 --- a/pages/common/greater-than.md +++ b/pages/common/greater-than.md @@ -15,9 +15,9 @@ `{{command}} &> {{path/to/file}}` -- Redirect both `stdout` and `stderr` to `/dev/null` to keep the terminal output clean: +- Redirect `stderr` to `/dev/null` to keep the terminal output clean: -`{{command}} &> /dev/null` +`{{command}} 2> /dev/null` - Clear the file contents or create a new empty file: