The below command may be used to find the files that are larger than 20 MB.
find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
This command will print the list of files along with the location and size. It will recursively search for such files in root (/)
find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
This command will print the list of files along with the location and size. It will recursively search for such files in root (/)
Comment