Skip to content
masterclass Buddy

Linux & Shell · Command

du

du estimates file space usage. It recursively summarizes directories and supports options for units, depth, links, exclusions, and totals.

Last updated

Syntax

du [ OPTION ]... [ FILE ]...
du [ OPTION ]... --files0-from=F

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • --apparent-size
  • --block-size=SIZE
  • --dereference
  • --exclude=PATTERN
  • --files0-from=F
  • --human-readable
  • --inodes
  • --max-depth=N

Source: du(1) - Linux manual page. Checked 2026-11-03.