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