Largest files on a directory or partition

February 24, 2004

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.

Make The Call

Get Started

Use this if you’re making an IT decision and want to avoid a costly mistake. Answer four quick questions and we’ll route you to the right next step—strategy, sourcing, contract review, or optimization.

If it’s a fit, you’ll be able to book time immediately.

By continuing, you agree to be contacted about your request. No spam.