Recently my fedora core run out of space, i start to think whether linux provide any command to check large file size on file system? luckily i found below command.

find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

if you encounter some permission denied error, please issue sudo prefix and make sure you have sudo privileges

sudo find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

Above command will find all files which file size exceed 100mb on any directories.

P.S you can customized above command to whatever you like

find (directory path) f -size (file size) -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

find-large-file-size-on-linux

Any Java questions or problems? please post at this JavaNullPointer.com forum, see you there ~