Articles & Code Snippets


Linux Find Large Files

You can easily list all large files along with size, by using the following syntax


You can easily list all large files along with size, by using the following syntax:

Search or find big files Linux (50MB) in current directory, enter:
$ find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Search in my /var/log directory:
# find /var/log -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' 
web


Archives