tag:blogger.com,1999:blog-3950073089426506979.post640495992933364717..comments2024-03-23T14:06:57.914+02:00Comments on Sameh Attia: Space is being consumed too fast? Find where!Sameh Attiahttp://www.blogger.com/profile/06829656663776752624noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-3950073089426506979.post-57375481379357759002010-02-17T07:46:10.442+02:002010-02-17T07:46:10.442+02:00JAK, great idea, Also there are some useful ways s...JAK, great idea, Also there are some useful ways such:<br /><br />Linux List All Large Files<br /><br />To finds all files over 50,000KB (50MB+) in size and display their names, along with size, use following syntax:<br /><br />Syntax for RedHat / CentOS / Fedora /Debian / Ubuntu Linux<br /><br />find {/path/to/directory/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'<br /><br />Search or find big files Linux (50MB) in current directory, enter:<br />$ find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'<br /><br />Search in my /var/log directory:<br /># find /var/log -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'<br /><br />Regards,Linux4allhttps://www.blogger.com/profile/02426226910465069002noreply@blogger.com