Truncate

From LQWiki
Jump to navigation Jump to search

truncate shrinks or extends the size of a file

Provided by

Most (all?) Linux distributions incorporate this from the GNU Coreutils: man page

Related Commands

  • df - Report disk usage by filesystems.
  • du - Report disk usage by directory
  • stat - Report status from an inode
  • sync - Update all cached disk blocks.

This article is a stub and needs to be finished. Plunge forward and help it grow!