Friday, July 25, 2025

Re: du strange output on single file

Received, thx..


"Kirill A. Korinsky" <kirill@korins.ky> wrote:

> Let me quote a man page du(1):
>
> -k By default, all sizes are reported in 512-byte block
> counts. The -k option causes the numbers to be reported in kilobyte
> counts.
>
> If you looking a way to have an accurate size of a file in bytes, use
> wc

Dan

------
Blog: https://bsd.gaoxio.com - Repo: https://code.5mode.com

Please reply to the mailing-list, leveraging technical stuff.

No comments:

Post a Comment