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: