greater-than: improve example (#15209)
This commit is contained in:
@@ -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:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user