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:
parent
4d9520c1ce
commit
5e9c1a3bbc
1 changed files with 4 additions and 0 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue