Dave's Brain

Browse - Computer Tips - How can I see a list of large files?

Date: 2016jan26
OS: Linux
Keywords: space, usage, large, big, huge

Q.  How can I see a list of large files?

A.  Find files larger that one megabyte below the current folder:

find . -type f -size +1M
Do an ls on those files:
find . -type f -size +1M -ls
Find files larger than 100K in /etc with sizes expressed in k (for kilo), M (for mega):
find /etc -type f -size +100k -exec ls -lh {} \;
Find size of packages: http://www.davekb.com/search.php?target=rpm+size

Add a comment

Sign in to add a comment
Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.