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

Prev PostUbuntu, LAMP, Webmin & Virtualmin - do you need all those?
Next PostMoving files to another hosting provider

Leave a reply