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.

The Next Move Is Yours

Stop Guessing. Start Leading.

Make your next IT decision the right one.