What is the unit of file size in Linux?

Thảo Justin

New member
What is the unit of file size in Linux?
Answer
In ls long listing format, by default the
file size unit used is bytes. But, you can easily change that with the –block-
size option of ls. To set the
unit to petabytes, use –block-
size =P. As you can see, the
file sizes are printed in megabyte
unit.
 

Tìm kiếm

Back
Top