Finding large files in a Linux system

Orange Pi Development Boards

To list large files in a directory and subdirectories

This command looks for files larger than 10MB in /home/user directory and displays the result as follows:
/home/user/largefile1.tar.bz2: 32M
/home/user/bugzilla.sql: 21M

Support CNX Software - Donate via PayPal or become a Patron on Patreon

Leave a Reply

1 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
0 Comment authors
84 MB Minimal Raspbian ARMHF Image for Raspberry Pi | CNXSoft – Embedded Software Development Recent comment authors
newest oldest most voted
Notify of

[…] not such a good start, but it’s still progress. I miraculously remember a command to find large file in Linux:sudo find / -type f -size +10000k -exec ls -lh {} ; | awk '{ print $NF ": " $5 }' […]