Truncating a file while it’s being used (Linux) May 25, 2023 by Tarik As of coreutils 7.0, there is a truncate command.