Avatar

How to look for large files in linux

To look for large files, use the find command with the -size flag.

sudo find / -size <size> -exec ls -lh {} \;

For example, if you want to look for files larger than 100 MB, use 100M as the argument

sudo find / -size 100M -exec ls -lh {} \;