1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 05:55:28 +02:00

Update truncate.md (#3710)

* Update truncate.md

Empty a file's content command, fix missing closing bracket on "Shrink the file by 2GiB" example.

* Add missing empty line and fix the article

Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:
Nir Elbaz 2019-12-30 14:41:06 +02:00 committed by Zlatan Vasović
parent 64ecf11238
commit 4e5395df2c

View file

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