diff --git a/pages/common/truncate.md b/pages/common/truncate.md index 6112b574a..199247dec 100644 --- a/pages/common/truncate.md +++ b/pages/common/truncate.md @@ -12,4 +12,8 @@ - Shrink the file by 2GiB, by removing data from the end of file: -`truncate -s -{{2G}} {{filename}` +`truncate -s -{{2G}} {{filename}}` + +- Empty the file's content: + +`truncate -s 0 {{filename}}`