3.9.38. truncate - truncate files to size

3.9.38.1. Usage

truncate [-c] -s [+]SIZE FILE...

3.9.38.2. Synopsis

truncate truncates files to a given size. If a file does not exist, it is created unless told otherwise.

3.9.38.3. Options

-c

Do not create files

-s [+]SIZE

truncate file to SIZE, or increase by +SIZE