On the command line, du
seems to return twice the numeric value returned by du -h
.
Apparently, du -h
resembles the actual file size, so what's the plain du
value representing?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityOn the command line, du
seems to return twice the numeric value returned by du -h
.
Apparently, du -h
resembles the actual file size, so what's the plain du
value representing?
-h "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte.
If -h is not given, the sizes are given in 512-byte blocks.