How To Find The Size Of A Directory In Linux

Find The Size Of A Directory In Linux

13 Responses

  1. Chinonso Chukwuogor says:

    Thanks a lot. This was very helpful

  2. AMit says:

    Thanks for du command. It really help me to find the folder size easily.

  3. Jenna says:

    Thank you. You were very helpful to put this together.

  4. Sourabh Srivastava says:

    Thanks for this tutorial. Very helpful

  5. James says:

    Thank you! Very Helpful

  6. himanshu says:


  7. Alex says:

    thanks for your help, it worked. I don’t use this command often but i forget sometimes the abbreviation behind it, disk usage.

  8. Mallika Bachan says:

    >the size of the directories is displayed in bits.

    ?? No, it’s in K
    KiloBytes, I think, not Kilobits – but you’re definitely not clarifying any of that here

  9. stang says:

    The du utility displays the file system block usage for each file argument and for each directory in the file hierarchy rooted in each directory argument. The block size depends on the file system you are using (typically 4k in most modern FS) .

  10. Oliv says:

    Thanks for this tutorial.!!

  11. Andrea Florio says:

    for people looking at the short answer..

    du -h -d 1

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.