$ truncate -s 0 filename
What this command does: Truncates filename to a size of zero.
Documentation: manpages.debian.org/unstable/coreutils/truncate.1.en
You are viewing this site in a simplified layout because your browser does not yet support CSS Subgrid.
$ truncate -s 0 filename
What this command does: Truncates filename to a size of zero.
Documentation: manpages.debian.org/unstable/coreutils/truncate.1.en