There is no single command that can be used to list all large files. But, with the help of find command and shell pipes, you can easily list all large files.

Linux List All Large Files

To finds all files over 50,000KB (50MB+) in size and display their names, along with size, use following syntax:

 

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

 

How to: Linux Find Large Files on Disk
Tagged on:                                                         

Leave a Reply

Your email address will not be published.