>: add file emptying example (#14080)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Managor
2024-10-10 16:11:12 +03:00
committed by GitHub
parent 4d9520c1ce
commit 5e9c1a3bbc

View File

@@ -18,3 +18,7 @@
- Redirect both `stdout` and `stderr` to `/dev/null` to keep the terminal output clean:
`{{command}} &> /dev/null`
- Clear the file contents or create a new empty file:
`> {{path/to/file}}`