truncate's Examples

Used to shrink or extend the size of a file.

truncate -s 0 /path/to/file