Linux – search for list of big files recursively

find . -type f -exec ls -s {} \; | sort -n -r | head -5

. is current directory

-5 can be 10 or 20

Dear fellow Malaysians, if you like the content of this blog and thinking about to support me to continue writing good content, please consider to sign up for Takaful service from me. I am offering life & accidental coverage plans and medical card too. Kindly message me using the PM box on the sidebar (under profile picture). Thanks ;)

Leave a Reply

Your email address will not be published. Required fields are marked *