Allgemein

How to Truncate (Empty) Files in Linux

How to Truncate (Empty) Files in Linux

This tutorial explains how to truncate files to zero size in Linux systems. In simple words, truncating a file means removing the file contents without deleting the file.