1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:22:09 +02:00

>: 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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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}}`