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?


-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.

  • Right, I missed the blocksize part on the man page. Thanks. – symphonic Aug 11 '15 at 14:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .