From 5e9c1a3bbcf7465099f97d1d3c18aa420bb45464 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:11:12 +0300 Subject: [PATCH] >: add file emptying example (#14080) Co-authored-by: Wiktor Perskawiec --- pages/common/greater-than.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/greater-than.md b/pages/common/greater-than.md index 93c6e537d..cf0006ca1 100644 --- a/pages/common/greater-than.md +++ b/pages/common/greater-than.md @@ -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}}`