What command for showing disk usage of specific directory non recursive?

Can I show how much disk space a directory's contents are using, not including its sub directories (and their contents)? If so, what commands(s) please? Thanks.


Solution 1:

Excerpt of du --help:

-h, --human-readable  print sizes in human readable format (e.g., 1K 234M 2G)
-S, --separate-dirs   do not include size of subdirectories
-s, --summarize       display only a total for each argument

Running:

du -Shs /path/to/dir

should give you what you want.