How do you check MB size in Linux?

Nguyễn Trà

New member
How do you check MB size in Linux?
Answer
use the -lh option with ls. Note that -h is a GNU coreutils extension. If the M suffix bothers you in some way, you can get rid of it by using –block-size=1M. If however you want to see the size in MB (10^6 bytes) instead, you should use
the command with the option –block-size=MB
.
 

Tìm kiếm

Back
Top