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

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
trackback

[…] 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 }' […]