Linux.com

Where has my disk space gone?

Posted by: Anonymous [ip: 66.240.11.2] on December 17, 2008 08:13 PM
du is another CLI tool that's really good at showing you where space is going.

$ cd /home
$ sudo du -s -m -c *
1 user1
47 user2
1 user3
1 user4
1 user5
1 user6
1 user7
1 user8
3 user9
50 total

The only gotcha would be if you show sizes in 1MB chunks like this, it rounds up to nearest megabyte, so the total may not add up to the original rounded values. The total is arrived at then rounded.

#

Return to Where has my disk space gone?