Find large files in Linux
I ran this command in Gentoo (not sure of the original source) but this should also work for RHEL and is a real life saver (took approx 20s to run):
find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Results in something like:
vm-gentoo # find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
/usr/portage/distfiles/mysql-5.0.70.tar.gz: 28M /usr/portage/distfiles/emul-linux-x86-baselibs-20080316.tar.bz2: 25M /usr/portage/distfiles/linux-2.6.27.tar.bz2: 49M /usr/portage/distfiles/linux-2.6.25.tar.bz2: 47M /usr/portage/distfiles/gcc-4.1.2.tar.bz2: 38M /usr/portage/distfiles/mysql-5.0.60.tar.gz: 27M /usr/portage/distfiles/linux-2.6.26.tar.bz2: 48M