Find large files in Linux

From Dawg Wiki


Usage

This command line is used for finding large files. Move to the desired directory where you would like to see the largest file and execute the command.

Code

find -type f -printf '%s %p\n'| sort -nr | head -10