Delete Log Files Using the truncate Command. The truncate command is the safest way to empty a file in Linux. truncate -s 0 filename. The command –s ...
確定! 回上一頁