du
Verified for current stable LTS
Du Command: List Directory Sizes In Specific Units
Use for list directory sizes in specific units with Du. Exact CLI syntax to list directory sizes in specific units using Du.
When to use this: Use for list directory sizes in specific units with Du.
Command Syntax
du -<b|k|m> <path/to/directory> du -<b|k|m> <path/to/directory> Command Breakdown
-<b|k|m>- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to list directory sizes in specific units 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
Du Command: List All Sizes Within Directory
du -ah <path/to/directory> Du Command: List Directory Sizes Human Readable du -h <path/to/directory> Du Command: List Files Above Threshold du -ah -t <1G|1024M|1048576K> .[^.]* * Du Command: List Files Above Threshold Size du -ah -t <1G|1024M|1048576K> .[^.]* * Du Command: List Human Readable Sizes Directory Files du -ah <path/to/directory>