February 24, 2004

Largest files on a directory or partition

Learn how to quickly find the largest files in a directory or partition using simple commands in FreeBSD for efficient disk management.

To see the 10 largest files on a directory or partition, use
# du /partition or directory_name | sort -rn | head -- Dru genesis [at] istar [dot] ca
From the FreeBSD fortune file.