🧀 Learn Linux

Commonly used · Observation system

du: Estimated directory occupancy

Put in free practice

Syntax

du [-sh] [path…]

Options

-s
Summary (teaching default)
-h
Teaching Compatibility Options

Examples

du -sh projects

Usage and sandbox support

The sandbox summarizes the number of text characters, which is different from the actual block occupancy and byte units.

Hands-on exercises

Full documentation ↗

Related commands