Tuesday, June 19, 2012

How to find large directories in Linux


Use this simple command to find large directories. To find directories over 1GB
[root@localhost]# du -h / | grep ^[0-9.]*G
or
[root@localhost]#find / -type d -size +1G

No comments:

Post a Comment