Viewing folder size

By Jamsi • Jan 24th, 2006 • Category: Linux

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

du -hs /path/to/folder

Related posts:

  1. How to tar gzip a folder


FREE NEWSLETTER -> Want Tech Tips Sent Straight to your Inbox?

Grab our Newsletter to Ensure your PC is Running Smooth!

Jamsi is currently studying a full time Bachelor of Computer/Business degree and working part time as an Internet Security Consultant.
Email this author | All posts by Jamsi

One Response »

  1. 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