How to truncate file on Linux -

Truncating files on a Linux system is a rather basic and common task for users and administrators alike. Perhaps the most common use for truncating (or emptying) a file would be in the case of log files.

This is a companion discussion topic for the original entry at