Recursively Find The 5 Largest Files In A Directory In Linux

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

 

Add new comment

The content of this field is kept private and will not be shown publicly.