How do I see MB file size in Linux?

How do I see MB file size in Linux?
Answer
ls -l –block-size=M will give you a long format listing (needed to actually see the file size) and round file sizes up to the nearest MiB. If you want MB (10^6 bytes) rather than MiB (2^20 bytes) units, use –block-size=MB instead.
 

Tìm kiếm

Back
Top