iwel's e-notes about his World
Posts tagged big files
Linux find large file size
Jan 14th
Sometimes after using your linux box, data consumes spaces in your hard drive, then you start to think how to find large file size in linux box, after searching a while then i found the solution for this,the following command will list all files in sorted order in human readable format
find /var -size +10000k -print0 | xargs -0 ls -lSh
the explanation for this is : look for files bigger than 10MB in the /var directory, sort it by biggest file first (descending), and show it in human readable format (MegaBytes)
That’s it.. now you can find large file size in your linux box, simple right