du Verified for current stable LTS

Du Command: List Sizes Up To N Levels Deep

Use for list sizes up to n levels deep with Du. Exact CLI syntax to list sizes up to n levels deep using Du.

When to use this: Use for list sizes up to n levels deep with Du.

Command Syntax

du -h -d <n> <path/to/directory>

Command Breakdown

-h
Command Option
Tool-specific option used by this command invocation.
-d
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to list sizes up to n levels deep using Du.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Du directory