Viewing folder size

Ever wanted to find the size of a folder under Linux (console)?

du -hs /path/to/folder


One Response to “Viewing folder size”

  1. Jonesy says:

    I find this one even more handy:

    du -h –max-depth=1 /path/to/folder

    It shows you the sizes off all folders in a directory.
    Very handy to find out what’s using all the space on your hard disks…

Leave a Reply

You must be logged in to post a comment.