Recursively work out the size of a directory on Linux prompt

Hi,

Very quick question but apparently we've been googling for ages.

Say you've a directoy...
/home/sites/hello
Filled with numerous other directories and files.

Can a command be run to calculate recursively how big that directory and its contents are?
netcentraltechAsked:
Who is Participating?
 
Heem14Connect With a Mentor Commented:
du -chs
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.