help
truncate
The manual page and help for the truncate Linux command. The truncate command reduces or expands the size of a file to the specified size. If the file is larger than the specified size, the extra data will be lost. If the file is smaller than the specified size, the program will fill it with zero bytes. If the specified file does not exist, truncate creates it.