How to find Big Files in Linux

You can use the find command to find large and big files in Linux which are eating-up your disk space

Software crashes which produce huge memory dumps and log files from various applications (specially the Apache log files, if you have a busy web server) can fill up the disk space very quickly.

to find a file larger than 2GB use the following command

find /var/log -type f -size +2G -exec ls -lah {} \;
the above will find files larger than 2 GB in the /var/log folder, you can just specify / to search for large files in complete root or specify any other mount point.

similarly to find files larger than 500MB use

find /var/log -type f -size +500M -exec ls -lah {} \;

Leave a Reply