# Linux: What is using up disk space?

`du -m | sort -nr | head`






du -m

    summarises disk usage from current path recursively (in megabytes)

sort -nr
    sorts the output numerically in reverse

head
    restricts output to the top 10 lines




adapted from [Linux Reviews](http://linuxreviews.org/quicktips/chkdirsizes/)




    

## Related posts

- [Extending a logical volume using reiserfs](/blog/2008/extending-a-logical-volume-using-reiserfs/)



© Ricky Moorhouse
