greater-than: improve example (#15209)

This commit is contained in:
Managor
2024-12-26 08:57:41 +02:00
committed by GitHub
parent e3239636dc
commit 9860d0ace6

View File

@@ -15,9 +15,9 @@
`{{command}} &> {{path/to/file}}` `{{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: - Clear the file contents or create a new empty file: