truncate
Set file to zero: truncate -s 0 /path/to/filename
See also
cat
, tac
, more
, less
, tail
, mtail
, echo
, stdin
, tr
, column
, paste
, truncate
, logrotate
, xzcat
pv
, progress
, sort
, ncat
, virt-cat
, awk
, join
, col
, fold
, tee
, sponge
, nfs-cat
, journalctl, ccat, icat, EOF
, lolcat