How can I determine the size of a directory or folder in Linux?

du -hs /path/to/directory

-h: human-readable
-s: summary (don’t show size of each individual file within the directory)