Linux Filesystem Cheat Sheet/Top-level sizes under current directory

Show one-level deep size totals.

Section: Space Usage

Top-level sizes under current directory

bash
bash
du -h --max-depth=1 .

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Space Usage
Directory size summary
Show total size for a directory in human-readable format.
OpenIn sheetbashsame section
Find largest files
List the biggest files under a directory.
OpenIn sheetbashsame section
Filesystem free space
Display mounted filesystem capacity and usage.
OpenIn sheetbashsame section
Print working directory
Show the absolute path of the current directory.
Long listing with human sizes
Show detailed directory contents with human-readable sizes.
Create nested directories
Create a directory path including missing parents.